am ed247003: Merge "Fix issue #18240452: No recents screenshot when resuming from keyguard." into lmp-mr1-dev automerge: c56a1f1
* commit 'ed247003857b7d1c0200a2e3102a6d263eb457bb': Fix issue #18240452: No recents screenshot when resuming from keyguard.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user