Merge "Reset notification pressed state when show guts after bouncer" into udc-dev

This commit is contained in:
Steve Elliott
2023-05-31 19:45:25 +00:00
committed by Android (Google) Code Review

View File

@@ -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 */,