diff options
| author | Shan Huang <shanh@google.com> | 2021-08-18 00:56:08 +0000 |
|---|---|---|
| committer | Shan Huang <shanh@google.com> | 2021-08-18 01:10:16 +0000 |
| commit | 7fee35220794edd1b0700c25002df6e6719400bb (patch) | |
| tree | 0a4fab137d717d6acc27d33eed1ab7b9475815bf /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | d790d63e254efdb4aadafbd091d7215afcd24095 (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 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
