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
This commit is contained in:
Alejandro Nijamkin
2022-12-24 15:56:54 -08:00
parent 102b4d6769
commit 5822b1cce4

View File

@@ -392,6 +392,7 @@ object KeyguardBottomAreaViewBinder {
}
view.performClick()
view.setOnClickListener(null)
cancel()
}
true
} else {