Skip to content
Snippets Groups Projects
Commit f6e816f0 authored by Yurii Zubrytskyi's avatar Yurii Zubrytskyi Committed by Android Build Coastguard Worker
Browse files

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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7230cdf9d79e634a03eb126f89d0bf2591dccb8a)
Merged-In: I501d9ce39f6e0437484632c85bf2773fe4a16474
Change-Id: I501d9ce39f6e0437484632c85bf2773fe4a16474
parent 5d204d1c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment