am 9be76b0e: am ed247003: Merge "Fix issue #18240452: No recents screenshot when resuming from keyguard." into lmp-mr1-dev automerge: c56a1f1
* commit '9be76b0e4054e954e84e1317353e55a137bbb1a3': 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