+48
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
And move their implementation from PermissionManagerService to LegacyPermissionService. The DefaultPermissionGrantPolicy related methods are not APIs, and are thus moved to LegacyPermissionManager and their usages are updated to use LegacyPermissionManager. The checkDeviceIdentifierAccess() method is also moved into LegacyPermissionManager, because it's merely an application of permission checking, not the permission management infra itself, and there isn't great benefit in updating it. However since it is an API, we still have to keep a delegate for it on PermissionManager, and make the delegated method @SystemApi. Bug: 158736025 Test: presubmit Test: LegacyPermissionManagerServiceTest Change-Id: Ic838f3685427217c8e0477551c3373258408983f