summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yining Liu <liuyining@google.com> 2024-02-23 22:02:28 +0000
committer Yining Liu <liuyining@google.com> 2024-03-01 00:30:11 +0000
commit7c34cb44c2bdb766146cc9726b6ce84be3563994 (patch)
tree0a7dc624d41765ee539fda0e40a775e06d493865 /libs/androidfw/StringPool.cpp
parent49c0d0572dd0c4376a77f00b9b2a2fb6dbf3f915 (diff)
Optimize the alpha reset of notification content views
Previously, we reset the alpha of all Content Views (private layout, public layout, and children container) to 1 when the showing layout changes to avoid accidentally make a transparent content view visible. However, this introduces a issue: when an alpha animation is going on a view and its alpha is reset, there will be a flicker. This change fixed this issue by setting the old alpha back to the new showing layout after the alpha reset to avoid breaking the animation. Bug: 292024656 Test: atest ExpandableNotificationRowTest Flag: ACONFIG notification_content_alpha_optimization DEVELOPMENT Change-Id: I68368ecf93cd654ed6ebe74a49efc2ea2e012a8b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions