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

Commit 87841352 authored by Svetoslav's avatar Svetoslav Committed by Android Git Automerger
Browse files

am 7f11d0db: Merge "Clear the caller identity when dumping print system state." into klp-dev

* commit '7f11d0db':
  Clear the caller identity when dumping print system state.
parents 5a6541eb 7f11d0db
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
@@ -361,6 +361,8 @@ public final class PrintManagerService extends IPrintManager.Stub {
        }

        synchronized (mLock) {
            final long identity = Binder.clearCallingIdentity();
            try {
                pw.println("PRINT MANAGER STATE (dumpsys print)");
                final int userStateCount = mUserStates.size();
                for (int i = 0; i < userStateCount; i++) {
@@ -368,6 +370,9 @@ public final class PrintManagerService extends IPrintManager.Stub {
                    userState.dump(fd, pw, "");
                    pw.println();
                }
            } finally {
                Binder.restoreCallingIdentity(identity);
            }
        }
    }