Merge "Clearing mDestroying flag when app is made visible again" into nyc-dev
am: 3dbcd203c5
* commit '3dbcd203c57e9845582b59d9d5914bd6df7d2e1f':
Clearing mDestroying flag when app is made visible again
This commit is contained in:
@@ -310,6 +310,11 @@ class AppWindowToken extends WindowToken {
|
||||
if (!(win.mRemoveOnExit && win.mExiting)) {
|
||||
win.mExiting = exiting;
|
||||
}
|
||||
// If we're no longer exiting, remove the window from destroying list
|
||||
if (!win.mExiting && win.mDestroying) {
|
||||
win.mDestroying = false;
|
||||
service.mDestroySurface.remove(win);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -326,7 +331,7 @@ class AppWindowToken extends WindowToken {
|
||||
}
|
||||
|
||||
if (!mAppStopped && !win.mClientRemoveRequested) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
win.destroyOrSaveSurface();
|
||||
|
||||
Reference in New Issue
Block a user