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

Commit ed247003 authored by Wale Ogunwale's avatar Wale Ogunwale Committed by android-build-merger
Browse files

Merge "Fix issue #18240452: No recents screenshot when resuming from keyguard." into lmp-mr1-dev

automerge: c56a1f17

* commit 'c56a1f17':
  Fix issue #18240452: No recents screenshot when resuming from keyguard.
parents a04a5e82 c56a1f17
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -835,7 +835,7 @@ final class ActivityStack {
        prev.task.touchActiveTime();
        clearLaunchTime(prev);
        final ActivityRecord next = mStackSupervisor.topRunningActivityLocked();
        if (mService.mHasRecents && (next == null || next.noDisplay || next.task != prev.task)) {
        if (mService.mHasRecents && (next == null || next.noDisplay || next.task != prev.task || uiSleeping)) {
            prev.updateThumbnail(screenshotActivities(prev), null);
        }
        stopFullyDrawnTraceIfNeeded();