summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Daniel Sandler <dsandler@android.com> 2010-08-03 15:29:31 -0400
committer Daniel Sandler <dsandler@android.com> 2010-08-04 10:52:51 -0400
commitd0a2f86f357f346639a6648b4004266865c979b4 (patch)
tree686b2bfe2b7deda215e330f84786f834c7003350 /libs/hwui/ProgramCache.cpp
parente339464f1c8efe7e53b761cf44ff5be6e537ecad (diff)
Fix crash when startForeground posts a broken Notification.
The NotificationManager tries to crash the calling app, but in the case of a service calling startForeground, the caller is the ActivityManager, so system_server goes down. NotificationManagerService#enqueueNotificationInternal is a new internal-only method that accepts a UID/PID to use when punishing bogus notifications (such as the one in http://b/2869787). Change-Id: I84a9854bae630bc90288cebb94f174809d5dac8c
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions