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 得知
  1. commit c29b11a5f65829dc87b5f234c4d3c1fff7ef5a36
  2. Author: Todd Kennedy <toddke@google.com>
  3. Date:   Mon Oct 23 15:55:59 2017 -0700

  4.     Move grantPermission to permission manager
  5.    
  6.     Last major movement of permission logic from the
  7.     package manager to the permission manager.
  8.    
  9.     Bug: 63539144
  10.     Test: Manual. Builds and runs
  11.     Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.PermissionsHostTest
  12.     Test: cts-tradefed run commandAndExit cts-dev -m CtsPermissionTestCases
  13.     Test: cts-tradefed run commandAndExit cts-dev -m CtsPermission2TestCases
  14.     Test: bit FrameworksServicesTests:com.android.server.pm.PackageManagerSettingsTests
  15.     Change-Id: I3225405fad4334917b8df0b08bb1936a58744480

复制代码





欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1