summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-05-23 15:18:41 -0400
committerJoe Onorato <joeo@android.com>2010-06-02 14:48:43 -0700
commitaaba60b281713d45a0f232580302c7b54a7207df (patch)
tree9e61b9f0133548c1fdc7aacde289c8539fe37698 /services/java/com/android/server
parente345fff2f80947b0a821f6674c197a02b7bff08e (diff)
downloadframeworks_base-aaba60b281713d45a0f232580302c7b54a7207df.zip
frameworks_base-aaba60b281713d45a0f232580302c7b54a7207df.tar.gz
frameworks_base-aaba60b281713d45a0f232580302c7b54a7207df.tar.bz2
Notifications don't crash when you click them, and pass through events to NotificationManagerService
Change-Id: Iae4a636d3c6d5c617440b11eb5b8bc77838ad584
Diffstat (limited to 'services/java/com/android/server')
-rw-r--r--services/java/com/android/server/status/StatusBarManagerService.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/services/java/com/android/server/status/StatusBarManagerService.java b/services/java/com/android/server/status/StatusBarManagerService.java
index 22b3810..26a41f3 100644
--- a/services/java/com/android/server/status/StatusBarManagerService.java
+++ b/services/java/com/android/server/status/StatusBarManagerService.java
@@ -255,7 +255,7 @@ public class StatusBarManagerService extends IStatusBarService.Stub
mBar = bar;
iconList.copyFrom(mIcons);
}
-
+
/**
* The status bar service should call this when the user changes whether
* the status bar is visible or not.
@@ -264,6 +264,14 @@ public class StatusBarManagerService extends IStatusBarService.Stub
Slog.d(TAG, "visibilityChanged visible=" + visible);
}
+ public void onNotificationClick(String pkg, String tag, int id) {
+ mNotificationCallbacks.onNotificationClick(pkg, tag, id);
+ }
+
+ public void onClearAllNotifications() {
+ mNotificationCallbacks.onClearAll();
+ }
+
// ================================================================================
// Callbacks for NotificationManagerService.
// ================================================================================