Merge "Reset notification pressed state when show guts after bouncer" into udc-dev am: 255a97dbf3 am: b0ad839fd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23481456 Change-Id: I45f42f3a765fa0b33732b5680b7ecd8dc5016816 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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