Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9ad78eae authored by Pavel Grafov's avatar Pavel Grafov
Browse files

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
parent 792db6a7
Loading
Loading
Loading
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