Merge "Fix not able to indicate split position in command to enter split" into tm-qpr-dev

This commit is contained in:
Kevin Huang
2022-08-16 01:17:13 +00:00
committed by Android (Google) Code Review

View File

@@ -56,7 +56,7 @@ public class SplitScreenShellCommandHandler implements
return false;
}
final int taskId = new Integer(args[1]);
final int sideStagePosition = args.length > 3
final int sideStagePosition = args.length > 2
? new Integer(args[2]) : SPLIT_POSITION_BOTTOM_OR_RIGHT;
mController.moveToSideStage(taskId, sideStagePosition);
return true;