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

Commit 08d11e1f authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Require that bugreport requesters have DUMP."

parents 511afdd3 b932319b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -7415,9 +7415,7 @@ public final class ActivityManagerService extends ActivityManagerNative
    }
    public void requestBugReport() {
        // No permission check because this can't do anything harmful --
        // it will just eventually cause the user to be presented with
        // a UI to select where the bug report goes.
        enforceCallingPermission(android.Manifest.permission.DUMP, "requestBugReport");
        SystemProperties.set("ctl.start", "bugreport");
    }