Loading services/core/java/com/android/server/wm/ActivityRecord.java +6 −7 Original line number Diff line number Diff line Loading @@ -2717,12 +2717,14 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A */ void onCopySplashScreenFinish(SplashScreenViewParcelable parcelable) { removeTransferSplashScreenTimeout(); // unable to copy from shell, maybe it's not a splash screen. or something went wrong. // either way, abort and reset the sequence. if (parcelable == null final SurfaceControl windowAnimationLeash = (parcelable == null || mTransferringSplashScreenState != TRANSFER_SPLASH_SCREEN_COPYING || mStartingWindow == null || mStartingWindow.mRemoved || finishing) { || finishing) ? null : TaskOrganizerController.applyStartingWindowAnimation(mStartingWindow); if (windowAnimationLeash == null) { // Unable to copy from shell, maybe it's not a splash screen, or something went wrong. // Either way, abort and reset the sequence. if (parcelable != null) { parcelable.clearIfNeeded(); } Loading @@ -2730,9 +2732,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A removeStartingWindow(); return; } // schedule attach splashScreen to client final SurfaceControl windowAnimationLeash = TaskOrganizerController .applyStartingWindowAnimation(mStartingWindow); try { mTransferringSplashScreenState = TRANSFER_SPLASH_SCREEN_ATTACH_TO_CLIENT; mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), token, Loading Loading
services/core/java/com/android/server/wm/ActivityRecord.java +6 −7 Original line number Diff line number Diff line Loading @@ -2717,12 +2717,14 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A */ void onCopySplashScreenFinish(SplashScreenViewParcelable parcelable) { removeTransferSplashScreenTimeout(); // unable to copy from shell, maybe it's not a splash screen. or something went wrong. // either way, abort and reset the sequence. if (parcelable == null final SurfaceControl windowAnimationLeash = (parcelable == null || mTransferringSplashScreenState != TRANSFER_SPLASH_SCREEN_COPYING || mStartingWindow == null || mStartingWindow.mRemoved || finishing) { || finishing) ? null : TaskOrganizerController.applyStartingWindowAnimation(mStartingWindow); if (windowAnimationLeash == null) { // Unable to copy from shell, maybe it's not a splash screen, or something went wrong. // Either way, abort and reset the sequence. if (parcelable != null) { parcelable.clearIfNeeded(); } Loading @@ -2730,9 +2732,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A removeStartingWindow(); return; } // schedule attach splashScreen to client final SurfaceControl windowAnimationLeash = TaskOrganizerController .applyStartingWindowAnimation(mStartingWindow); try { mTransferringSplashScreenState = TRANSFER_SPLASH_SCREEN_ATTACH_TO_CLIENT; mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), token, Loading