summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2023-11-01 19:05:46 -0700
committer Yurii Zubrytskyi <zyy@google.com> 2023-11-01 19:41:30 -0700
commit7230cdf9d79e634a03eb126f89d0bf2591dccb8a (patch)
treef1bb1843203bf24851c3bcc954b7ba487a0e8c73 /libs/androidfw/ResourceTimer.cpp
parent33285cfb021ca36b648a3590fca44ad23392d783 (diff)
Runtime: fix the theme colors on device reset
When launching an activity we may handle the launch before applying the application info update that carries new overlay paths for the app. In this case the activity will have enough time to load the resources with no overlays applied, and use e.g. wrong accent colors. This change makes sure we apply pending application info updates on any activity launch, and that the resource paths are up to date on the very first Resources object creation. Bug: 299064578 Test: manual, factory reset for 8a, 10x Change-Id: I501d9ce39f6e0437484632c85bf2773fe4a16474
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions