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

Commit 6e4a8e01 authored by Steve Elliott's avatar Steve Elliott
Browse files

Reset notification pressed state when show guts after bouncer

Fixes: 233281914
Test: manual
  1. Have side-fingerprint lock enabled
  2. Have notifications present on lock screen
  3. Long-press a notification
  Observe: Ripple animates away when bouncer is shown
Change-Id: I363e233e912fc5dc870e0720e67c57dbd4f75781
parent 0f4c76e8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -552,6 +552,9 @@ public class NotificationGutsManager implements NotifGutsViewManager {

                Runnable r = () -> mMainHandler.post(
                        () -> openGutsInternal(view, x, y, menuItem));
                // If the bouncer shows, it will block the TOUCH_UP event from reaching the notif,
                // so explicitly mark it as unpressed here to reset the touch animation.
                view.setPressed(false);
                mActivityStarter.executeRunnableDismissingKeyguard(
                        r,
                        null /* cancelAction */,