summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author William Xiao <wxyz@google.com> 2023-07-05 18:03:19 -0700
committer William Xiao <wxyz@google.com> 2023-07-07 16:23:40 -0700
commit5531f6274bae4f039a6ce41c8a54a785e9eea6bf (patch)
tree863529a0c6a28dce5708d0b8e68bb15aa366cede /libs/androidfw/misc.cpp
parent17bb645ade7e5e80f2b3cfca0b3e310335140cf4 (diff)
Remove unnecessary animation cancellations when exiting low light
This CL removes the unnecessary cancellation in the transition coordinator and also scales the dream overlay exit animation from lasting >1s so that a self-cancellation isn't needed after the view is no longer visible. Also greatly simplifies the method we use to truncate the long animations. Test: atest LowLightDreamManagerTest LowLightTransitionCoordinatorTest TruncatedInterpolatorTest Test: manually verified that enabling low light doesn't crash if tapping during the animation Bug: 285666217 Fixed: 285666217 Change-Id: Ib0dfe4fe4d030888607e1f03d57f1a084a5fba10
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions