Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ef29b5a authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Update flyover if notification changes.

Bug: 3292466
Change-Id: I11407b7a0eedc3d8474d34e45e4b472a2dc61d27
parent cf321c1a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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.