Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit df64212c authored by Hai Zhang's avatar Hai Zhang
Browse files

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
parent 8b23eff3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment