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

Commit f0707fe3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix a near instant stats permission check false negative."

parents 284d9401 d85d8539
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -87,6 +87,7 @@ public class StorageStatsService extends IStorageStatsManager.Stub {
            case AppOpsManager.MODE_DEFAULT:
                mContext.enforceCallingPermission(
                        android.Manifest.permission.PACKAGE_USAGE_STATS, TAG);
                return;
            default:
                throw new SecurityException("Blocked by mode " + mode);
        }