Reduce coupling between DefaultPermissionGrantPolicy and PM
This is a refactoring that should help us eventually split DefaultPermissionGrantPolicy away from package manager Specifically, this CL: - Removes usages of PM-internal APIs from DPGP, such as PackageParser.Package and PackageList - Introduces APIs in PackageManagerInternal to replace the above - Removes PackageManagerService as a middleman for default sms and dialer app changes This intentionally doesn't move DPGP yet, to make it easier to review what actually changed Test: gts-tradefed run gts -m GtsPermissionTestCases -t com.google.android.permission.gts.DefaultPermissionGrantPolicyTest Change-Id: Iff5b1a6b97888c496d982cf2ce656b58ed0a31a6
Loading
Please register or sign in to comment