Merge "Fix issue with app not becoming visible" into oc-mr1-dev am: af6a558327

am: 4ebf25b833

Change-Id: I57cbbf6fb290fc49d09fb257ed9c10a2f2af4c25
This commit is contained in:
Jorim Jaggi
2017-08-23 11:32:57 +00:00
committed by android-build-merger

View File

@@ -1693,7 +1693,7 @@ final class ActivityRecord extends ConfigurationContainer implements AppWindowCo
*/
void completeResumeLocked() {
final boolean wasVisible = visible;
visible = true;
setVisible(true);
if (!wasVisible) {
// Visibility has changed, so take a note of it so we call the TaskStackChangedListener
mStackSupervisor.mAppVisibilitiesChangedSinceLastPause = true;