summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@google.com>2010-12-16 17:29:50 -0500
committerDaniel Sandler <dsandler@google.com>2010-12-16 17:29:50 -0500
commit7ef29b5a066e87ac890cf198c58e2ffe8549bea1 (patch)
treef9b0568ac916b05cde56ed777192e13b2ef3940a /packages
parentcf321c1abe2db9568ad533b5722725681804c668 (diff)
downloadframeworks_base-7ef29b5a066e87ac890cf198c58e2ffe8549bea1.zip
frameworks_base-7ef29b5a066e87ac890cf198c58e2ffe8549bea1.tar.gz
frameworks_base-7ef29b5a066e87ac890cf198c58e2ffe8549bea1.tar.bz2
Update flyover if notification changes.
Bug: 3292466 Change-Id: I11407b7a0eedc3d8474d34e45e4b472a2dc61d27
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
index 2566249..06c058b 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
@@ -598,6 +598,14 @@ public class TabletStatusBar extends StatusBar {
handleNotificationError(key, notification, "Couldn't update icon: " + ic);
return;
}
+
+ if (key == mNotificationPeekKey) {
+ // must update the peek window
+ Message peekMsg = mHandler.obtainMessage(MSG_OPEN_NOTIFICATION_PEEK);
+ peekMsg.arg1 = mNotificationPeekIndex;
+ mHandler.removeMessages(MSG_OPEN_NOTIFICATION_PEEK);
+ mHandler.sendMessage(peekMsg);
+ }
}
catch (RuntimeException e) {
// It failed to add cleanly. Log, and remove the view from the panel.