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

Commit c6b1a54b authored by dcashman's avatar dcashman Committed by Android Git Automerger
Browse files

am fefa614f: Reduce DUMP permission denial output to one line.

* commit 'fefa614f':
  Reduce DUMP permission denial output to one line.
parents 60351eeb fefa614f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2265,7 +2265,7 @@ status_t CameraService::dump(int fd, const Vector<String16>& args) {

    String8 result("Dump of the Camera Service:\n");
    if (checkCallingPermission(String16("android.permission.DUMP")) == false) {
        result.appendFormat("Permission Denial: "
        result = result.format("Permission Denial: "
                "can't dump CameraService from pid=%d, uid=%d\n",
                getCallingPid(),
                getCallingUid());