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

Skip to content
Commit 781c51ac authored by Yuting Fang's avatar Yuting Fang
Browse files

Create a system API to check permission by persistent device Id

The new system Api in PermissionManager is used to check permission against a persistent device Id. It uses the
same cache sPackageNamePermissionCache as the one used by PackageManager#checkPermission, but changes the cache to use
persistentDeviceId in the cache key instead of VDID.

Bug: b/315356442
Test: ag/26168815 atest DevicePermissionsTest
Change-Id: I6043229a70b30b71652466fed07fd151aff8883c
parent a84693ee
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