diff options
author | Shan Huang <shanh@google.com> | 2021-08-18 00:56:08 +0000 |
---|---|---|
committer | Shan Huang <shanh@google.com> | 2021-08-19 18:50:25 +0000 |
commit | a1f7a71c2df15cef04e79f6c20f126e81b49c839 (patch) | |
tree | 07e82830ee9bd88d6def3a109c3834e6a027172c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f1eb5cc17a0ee4bdeaafedc43b9e97f56faac389 (diff) |
Move boot color sysprop parsing to after loading zips.
Otherwise the sysprops would not be loaded yet and accessing them would
return empty strings.
Though unlikely, this is not 100% safe because boot color sysprops
are not guaranteed to be loaded by the time zips are loaded. A TODO
here is to understand boot steps and their timing implications so
that we can fully avoid the race condition.
Bug: 190093578
Test: adb shell setprop persist.bootanim.color(1-4), then reboot phone.
Change-Id: I603da080b1732a436a10dbaca6f2be9f158124dc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions