Use wm shell splash screen animation to reveal app after tasks have appeared.
Bug: 202826469 Test: manual Change-Id: I6a9e8a932849c30f7b572119a7f607178b5a6437
This commit is contained in:
1 parent
c5b3b75f83
commit
e7fc4b1f63
4 files changed
+74
-11
No files matched your search
@@ -18,7 +18,6 @@ package com.android.quickstep.views;
|
||||
|
||||
import static android.view.Display.DEFAULT_DISPLAY;
|
||||
import static android.widget.Toast.LENGTH_SHORT;
|
||||
import static android.window.SplashScreen.SPLASH_SCREEN_STYLE_SOLID_COLOR;
|
||||
|
||||
import static com.android.launcher3.Utilities.comp;
|
||||
import static com.android.launcher3.Utilities.getDescendantCoordRelativeToAncestor;
|
||||
@@ -667,9 +666,7 @@ public class TaskView extends FrameLayout implements Reusable {
|
||||
if (freezeTaskList) {
|
||||
opts.setFreezeRecentTasksReordering();
|
||||
}
|
||||
// TODO(b/202826469): Replace setSplashScreenStyle with setDisableStartingWindow.
|
||||
opts.setSplashScreenStyle(mSnapshotView.shouldShowSplashView()
|
||||
? SPLASH_SCREEN_STYLE_SOLID_COLOR : opts.getSplashScreenStyle());
|
||||
opts.setDisableStartingWindow(mSnapshotView.shouldShowSplashView());
|
||||
Task.TaskKey key = mTask.key;
|
||||
UI_HELPER_EXECUTOR.execute(() -> {
|
||||
if (!ActivityManagerWrapper.getInstance().startActivityFromRecents(key, opts)) {
|
||||
|
||||
Reference in new issue
Block a user