summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-06-24 15:57:42 -0700
committerDianne Hackborn <hackbod@google.com>2010-06-24 17:27:28 -0700
commit9d39d0cb361c5d3bba04a6bacf299be2162a6e92 (patch)
tree3e08cfc2e7b5e1fabc21d2c0c9184531da78d41a /packages
parent01e4cfc47d0a2c7e7ab383d2fb23224ec52c0301 (diff)
downloadframeworks_base-9d39d0cb361c5d3bba04a6bacf299be2162a6e92.zip
frameworks_base-9d39d0cb361c5d3bba04a6bacf299be2162a6e92.tar.gz
frameworks_base-9d39d0cb361c5d3bba04a6bacf299be2162a6e92.tar.bz2
Make bad notifications crash their application.
Implement notification manager handling of bad notifications, to call a new activity manager to have the owner's process crashed (if there is one). Change-Id: Ib15e8d0c598756f3b39c99cc2045c18e054daf6b
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java b/packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java
index a7e5e31..801cb91 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/PhoneStatusBarService.java
@@ -989,7 +989,7 @@ public class PhoneStatusBarService extends StatusBarService {
void handleNotificationError(IBinder key, StatusBarNotification n, String message) {
removeNotification(key);
try {
- mBarService.onNotificationError(n.pkg, n.tag, n.id, message);
+ mBarService.onNotificationError(n.pkg, n.tag, n.id, n.uid, n.initialPid, message);
} catch (RemoteException ex) {
// The end is nigh.
}