Update flyover if notification changes.
Bug: 3292466 Change-Id: I11407b7a0eedc3d8474d34e45e4b472a2dc61d27
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user