Fix not able to indicate split position in command to enter split
Fix: 242149134 Test: command "splitscreen moveToSideStage <taskid> <pos>" works Change-Id: Ifa366af13b92610dc27d711256cb55d323e021a4
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user