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

Commit 06e950b9 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 3c36d587: Merge "Convert from elapsed time to absolute time." into lmp-dev

* commit '3c36d58756e022067f6a333aa86114970ed73834':
  Convert from elapsed time to absolute time.
parents 9c20e55c 807badbe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -199,14 +199,14 @@ final class TaskRecord {
    }

    void touchActiveTime() {
        lastActiveTime = android.os.SystemClock.elapsedRealtime();
        lastActiveTime = System.currentTimeMillis();
        if (firstActiveTime == 0) {
            firstActiveTime = lastActiveTime;
        }
    }

    long getInactiveDuration() {
        return android.os.SystemClock.elapsedRealtime() - lastActiveTime;
        return System.currentTimeMillis() - lastActiveTime;
    }

    void setIntent(Intent _intent, ActivityInfo info) {