diff options
| author | Hai Zhang <zhanghai@google.com> | 2021-03-30 02:55:56 +0000 |
|---|---|---|
| committer | Hai Zhang <zhanghai@google.com> | 2021-03-30 03:01:24 +0000 |
| commit | df64212c74d09fc22cc1937e47447d6604f16dd3 (patch) | |
| tree | 0ab7ac965841f46045a940a90593f1d27ae2477c /docs/html/sdk/api_diff/24/changes | |
| parent | 8b23eff356fbd399466a3c6e62d1f69de0f3bfe1 (diff) | |
Don't call getGrantedPermissions() when generating package info without
GET_PERMISSIONS.
To avoid triggering error in logcat about no permission state is
available during early boot.
The grantedPermission parameter is actually only used in
PackageInfoWithoutStateUtils.generateWithoutComponentsUnchecked() when
GET_PERMISSIONS is present, so it's safe to omit the call when we don't
have the flag.
Fixes: 183999679
Test: presubmit
Change-Id: I10a07563cb2378d519a6e0ea220fb1b5d76ea129
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions
