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
This commit is contained in:
@@ -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 */,
|
||||
|
||||
Reference in New Issue
Block a user