diff options
| author | Pavel Grafov <pgrafov@google.com> | 2021-11-28 18:04:20 +0000 |
|---|---|---|
| committer | Pavel Grafov <pgrafov@google.com> | 2021-12-02 15:54:36 +0000 |
| commit | 9ad78eae2ec776511ceeeea75acd474c4cfb92d8 (patch) | |
| tree | af151b39c69ef2fc224cd7a26da776f820617c13 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 792db6a75e388704139f996ff6a556340fde39ac (diff) | |
Move policy upgrade to DPMS ctor
Currently upgrade happens on lock settings ready, but by that time
WifiService alredy calls to isCommonCriteriaModeEnabled and this
results in obsolete values left in cache. Moving upgrade to ctor
avoids this issue.
Both old and new upgrade invocations happen during
SystemServer.startOtherServices, while all services on which the upgrade
depends, namely UserManager and PackageManager are started earlier in
SystemServer.startBootstrapServices.
Bug: 198768109
Test: upgrade from Android 11 and check device policy cache
Change-Id: Ie4c17a617bbed176bc87fc598f56ccbc49569009
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
