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

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

am 1f57b605: am 6f2fb33f: am d4d170de: Merge "Do not take screenshots when...

am 1f57b605: am 6f2fb33f: am d4d170de: Merge "Do not take screenshots when launching activities..." into klp-dev

* commit '1f57b605':
  Do not take screenshots when launching activities...
parents 8fd09e8d 1f57b605
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -740,7 +740,10 @@ final class ActivityStack {
        prev.state = ActivityState.PAUSING;
        prev.task.touchActiveTime();
        clearLaunchTime(prev);
        final ActivityRecord next = mStackSupervisor.topRunningActivityLocked();
        if (next == null || next.task != prev.task) {
            prev.updateThumbnail(screenshotActivities(prev), null);
        }
        stopFullyDrawnTraceIfNeeded();

        mService.updateCpuStats();