diff options
| author | 2023-06-01 03:02:21 +0000 | |
|---|---|---|
| committer | 2023-06-01 03:02:21 +0000 | |
| commit | 9cbda8fe8fec69d549f9e1d182a0429ea6a6ac3f (patch) | |
| tree | 0633a1711d02c75f172bc477fbfdc1059467f907 | |
| parent | 3d137a068cde4978e9daab63492ead0179a3cfcd (diff) | |
| parent | 17ea6c7d8942aa627ea8357de607e498a0c0ba85 (diff) | |
Merge "Show toast if split enter failed" into udc-dev
| -rw-r--r-- | libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java b/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java index b2526ee97a21..b4020a068325 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java @@ -2622,6 +2622,7 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler, Log.w(TAG, "Launched a task in split, but didn't receive any task in transition."); mSplitTransitions.mPendingEnter.cancel((cancelWct, cancelT) -> prepareExitSplitScreen(STAGE_TYPE_UNDEFINED, cancelWct)); + mSplitUnsupportedToast.show(); return true; } } else { @@ -2632,6 +2633,7 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler, (sideChild != null ? STAGE_TYPE_SIDE : STAGE_TYPE_UNDEFINED); mSplitTransitions.mPendingEnter.cancel( (cancelWct, cancelT) -> prepareExitSplitScreen(dismissTop, cancelWct)); + mSplitUnsupportedToast.show(); return true; } } |