Merge "Reset notification pressed state when show guts after bouncer" into udc-dev am: 255a97dbf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23481456 Change-Id: I7990393ae60ec6299e045f7ee67a5d8c3ee9d995 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