From 5822b1cce4b76f174c3dd2d0bcbe76e406bc5f68 Mon Sep 17 00:00:00 2001 From: Alejandro Nijamkin Date: Sat, 24 Dec 2022 15:56:54 -0800 Subject: Affordance returns to normal size after activation There was a bug where the quick affordance button would remain scaled-up after activation, if it opened another activity. This CL fixes that. Fix: 263585543 Test: manually verified that the bug no longer reproduces by long-pressing to start the camera app and then locking the device and then getting AOD to display TesT: manually verified that the other animations and interactions are still working including the long press activation of on/off affordances (tried flashlight) and the rejection shake animation Change-Id: Ibc9a0579df713a677bb1fdee7e051c4ba7afac44 --- .../android/systemui/keyguard/ui/binder/KeyguardBottomAreaViewBinder.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBottomAreaViewBinder.kt b/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBottomAreaViewBinder.kt index b19795c38579..0e4058bf8f6d 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBottomAreaViewBinder.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBottomAreaViewBinder.kt @@ -392,6 +392,7 @@ object KeyguardBottomAreaViewBinder { } view.performClick() view.setOnClickListener(null) + cancel() } true } else { -- cgit v1.2.3-59-g8ed1b