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

Commit 9f186350 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Increase activity exit-info timestamp resolution

Need finer grained timestamp when looking at process exit information

Test: adb shell dumpsys activity exit-info

Bug: 150324813
Change-Id: Ia7b2521694cb874096cebbe1bcfe7c62864d2369
parent 91ae0d0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -708,7 +708,7 @@ public final class AppExitInfoTracker {

    void dumpHistoryProcessExitInfo(PrintWriter pw, String packageName) {
        pw.println("ACTIVITY MANAGER LRU PROCESSES (dumpsys activity exit-info)");
        SimpleDateFormat sdf = new SimpleDateFormat();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
        synchronized (mLock) {
            pw.println("Last Timestamp of Persistence Into Persistent Storage: "
                    + sdf.format(new Date(mLastAppExitInfoPersistTimestamp)));