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

Skip to content
Commit 8297373a authored by Winson Chiu's avatar Winson Chiu
Browse files

Migrate DevicePolicyManagerService to use PackageManagerLocal

Because this code runs in system server and clears calling identity
anyways, the PackageManagerLocal API is lighter weight and allows
logging failures with more specificity.

Also fixes the tests to use proper mocking of the snapshot APIs.

Bug: 241384985

Test: atest com.android.server.devicepolicy

Change-Id: Iebfdb3e9da33629ad768436c9f9d16721d7595af
parent e334986d
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