Firefly开源社区
标题:
Firefly提供的Android11.0的SDK删除了权限代码吗
[打印本页]
作者:
fairytale147
时间:
2022-2-15 10:23
标题:
Firefly提供的Android11.0的SDK删除了权限代码吗
frameworks\base\services\core\java\com\android\server\pm\PackageManagerService.java里面找不到关于权限分配的函数private void grantPermissionsLPw(PackageParser.Package pkg, boolean replace,
String packageOfInterest) 是怎么回事
作者:
firefly_zhongw
时间:
2022-2-15 12:47
通过 google aosp 得知
commit c29b11a5f65829dc87b5f234c4d3c1fff7ef5a36
Author: Todd Kennedy <toddke@google.com>
Date: Mon Oct 23 15:55:59 2017 -0700
Move grantPermission to permission manager
Last major movement of permission logic from the
package manager to the permission manager.
Bug: 63539144
Test: Manual. Builds and runs
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.PermissionsHostTest
Test: cts-tradefed run commandAndExit cts-dev -m CtsPermissionTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsPermission2TestCases
Test: bit FrameworksServicesTests:com.android.server.pm.PackageManagerSettingsTests
Change-Id: I3225405fad4334917b8df0b08bb1936a58744480
复制代码
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1