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
2 files changed