Fix NPE when launching fullscreen app during split screen mode
Prevent appending divider bar into transition when it's going to be
released right away.
Fix: 232322741
Test: enable shell transition, trigger split screen,
verified launching another fullscreen app won't crash.
Change-Id: I79edf0738333cec6e88d09f81d1000b034a6ae1e
This commit is contained in:
@@ -1708,8 +1708,6 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
|
||||
logExitToStage(dismissReason, toStage == STAGE_TYPE_MAIN);
|
||||
}
|
||||
|
||||
addDividerBarToTransition(info, t, false /* show */);
|
||||
|
||||
// Hide divider and dim layer on transition finished.
|
||||
setDividerVisibility(false, finishT);
|
||||
finishT.hide(mMainStage.mDimLayer);
|
||||
@@ -1731,6 +1729,7 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
|
||||
return false;
|
||||
}
|
||||
|
||||
addDividerBarToTransition(info, t, false /* show */);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user