summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Peter Kalauskas <peskal@google.com> 2023-04-07 12:49:56 -0700
committer Peter Kalauskas <peskal@google.com> 2023-04-10 18:46:55 -0700
commitabf87cf3316bf3535cb57723d816376bcbd70925 (patch)
treec4eeefc1b95c638e776c1e1b707f3fa9040b2ef4 /libs/androidfw/StringPool.cpp
parent857b09eb8204a59f5e56eb5287d0b27172a7494b (diff)
Use PropertyAnimator for CUJ_SCREEN_OFF_SHOW_AOD
Previously ViewPropertyAnimator - e.g. View.animate() - and PropertyAnimator were used at the same time for animations on the same keyguard view. This made the state less predictable since one might assume calling View.animate().cancel() would cancel all the PropertyAnimators too (it does not). Since ViewPropertyAnimator was only used for animating alpha, simplify things by removing usage of View.animate() and replacing it with a new PropertyAnimator call for the View.ALPHA property. Also, - Mark KeyguardUserSwitcherController as deprecated - Throw IllegalArgumentException if KeyguardStatusView#animate() is called on a debuggable build Test: capture perfetto trace while turning screen off Test: turn screen off while on lock screen, observe that the fade and translation animations remain unchanged from home screen Bug: 262705829 Change-Id: I72d8f3986422e3c71a6f91b94e5692e929867737
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions