Merge "Reset notification pressed state when show guts after bouncer" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
255a97dbf3
@@ -552,6 +552,9 @@ public class NotificationGutsManager implements NotifGutsViewManager {
|
|||||||
|
|
||||||
Runnable r = () -> mMainHandler.post(
|
Runnable r = () -> mMainHandler.post(
|
||||||
() -> openGutsInternal(view, x, y, menuItem));
|
() -> 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(
|
mActivityStarter.executeRunnableDismissingKeyguard(
|
||||||
r,
|
r,
|
||||||
null /* cancelAction */,
|
null /* cancelAction */,
|
||||||
|
|||||||
Reference in New Issue
Block a user