Merge "Don't transfer splash screen if activity is finishing." into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a56e6c1f97
@@ -2476,7 +2476,8 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
|
||||
}
|
||||
|
||||
private boolean transferSplashScreenIfNeeded() {
|
||||
if (!mHandleExitSplashScreen || mStartingSurface == null || mStartingWindow == null
|
||||
if (finishing || !mHandleExitSplashScreen || mStartingSurface == null
|
||||
|| mStartingWindow == null
|
||||
|| mTransferringSplashScreenState == TRANSFER_SPLASH_SCREEN_FINISH) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user