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
Loading
Please register or sign in to comment