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

Commit a0b4b167 authored by Winson's avatar Winson
Browse files

Adding debugging for last active time.

Bug: 29947804
Change-Id: I4ab1dc3c380d3552aaaff4f811171cdc66e05474
parent cbb625bc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -801,9 +801,13 @@ public class RecentsActivity extends Activity implements ViewTreeObserver.OnPreD
        Recents.getTaskLoader().dump(prefix, writer);

        String id = Integer.toHexString(System.identityHashCode(this));
        long lastStackActiveTime = Prefs.getLong(this,
                Prefs.Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME, -1);

        writer.print(prefix); writer.print(TAG);
        writer.print(" visible="); writer.print(mIsVisible ? "Y" : "N");
        writer.print(" lastStackTaskActiveTime="); writer.print(lastStackActiveTime);
        writer.print(" currentTime="); writer.print(System.currentTimeMillis());
        writer.print(" [0x"); writer.print(id); writer.print("]");
        writer.println();