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

* commit 'efeb6f3c1b6123188e78b1c8a15e0eb331ebc8ee':
  Fix issue #11087316: Can't run dumpsys procstats on user builds in some cases!
This commit is contained in:
Dianne Hackborn
2013-10-09 12:18:14 -07:00
committed by Android Git Automerger

View File

@@ -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;