Merge "Revert submission 9996524-restrict_legacy_appop"

This commit is contained in:
TreeHugger Robot
2020-01-03 16:03:23 +00:00
committed by Android (Google) Code Review

View File

@@ -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() {