Merge "Revert submission 9996524-restrict_legacy_appop"
This commit is contained in:
committed by
Android (Google) Code Review
commit
57a1e4c4aa
@@ -145,8 +145,7 @@ public abstract class SoftRestrictedPermissionPolicy {
|
||||
}
|
||||
@Override
|
||||
public boolean mayAllowExtraAppOp() {
|
||||
return !shouldApplyRestriction && hasRequestedLegacyExternalStorage
|
||||
&& targetSDK <= Build.VERSION_CODES.Q;
|
||||
return !shouldApplyRestriction && hasRequestedLegacyExternalStorage;
|
||||
}
|
||||
@Override
|
||||
public boolean mayDenyExtraAppOpIfGranted() {
|
||||
|
||||
Reference in New Issue
Block a user