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

Commit 1ee0c1c3 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am efeb6f3c: Merge "Fix issue #11087316: Can\'t run dumpsys procstats on user...

am efeb6f3c: Merge "Fix issue #11087316: Can\'t run dumpsys procstats on user builds in some cases!" into klp-dev

* commit 'efeb6f3c':
  Fix issue #11087316: Can't run dumpsys procstats on user builds in some cases!
parents af47d751 efeb6f3c
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -566,6 +566,15 @@ public final class ProcessStatsService extends IProcessStats.Stub {
            return;
        }

        long ident = Binder.clearCallingIdentity();
        try {
            dumpInner(fd, pw, args);
        } finally {
            Binder.restoreCallingIdentity(ident);
        }
    }

    private void dumpInner(FileDescriptor fd, PrintWriter pw, String[] args) {
        final long now = SystemClock.uptimeMillis();

        boolean isCheckin = false;