@@ -36,7 +36,7 @@ public void setTextInputEditingState_doesNotRestartWhenTextIsIdentical() {
3636 testImm .setCurrentInputMethodSubtype (inputMethodSubtype );
3737 View testView = new View (RuntimeEnvironment .application );
3838 TextInputPlugin textInputPlugin = new TextInputPlugin (testView , mock (DartExecutor .class ), mock (PlatformViewsController .class ));
39- textInputPlugin .setTextInputClient (0 , new TextInputChannel .Configuration (false , false , TextInputChannel .TextCapitalization .NONE , null , null , null ));
39+ textInputPlugin .setTextInputClient (0 , new TextInputChannel .Configuration (false , false , true , TextInputChannel .TextCapitalization .NONE , null , null , null ));
4040 // There's a pending restart since we initialized the text input client. Flush that now.
4141 textInputPlugin .setTextInputEditingState (testView , new TextInputChannel .TextEditState ("" , 0 , 0 ));
4242
@@ -61,7 +61,7 @@ public void setTextInputEditingState_alwaysRestartsOnAffectedDevices2() {
6161 testImm .setCurrentInputMethodSubtype (inputMethodSubtype );
6262 View testView = new View (RuntimeEnvironment .application );
6363 TextInputPlugin textInputPlugin = new TextInputPlugin (testView , mock (DartExecutor .class ), mock (PlatformViewsController .class ));
64- textInputPlugin .setTextInputClient (0 , new TextInputChannel .Configuration (false , false , TextInputChannel .TextCapitalization .NONE , null , null , null ));
64+ textInputPlugin .setTextInputClient (0 , new TextInputChannel .Configuration (false , false , true , TextInputChannel .TextCapitalization .NONE , null , null , null ));
6565 // There's a pending restart since we initialized the text input client. Flush that now.
6666 textInputPlugin .setTextInputEditingState (testView , new TextInputChannel .TextEditState ("" , 0 , 0 ));
6767
@@ -83,7 +83,7 @@ public void setTextInputEditingState_doesNotRestartOnUnaffectedDevices() {
8383 testImm .setCurrentInputMethodSubtype (inputMethodSubtype );
8484 View testView = new View (RuntimeEnvironment .application );
8585 TextInputPlugin textInputPlugin = new TextInputPlugin (testView , mock (DartExecutor .class ), mock (PlatformViewsController .class ));
86- textInputPlugin .setTextInputClient (0 , new TextInputChannel .Configuration (false , false , TextInputChannel .TextCapitalization .NONE , null , null , null ));
86+ textInputPlugin .setTextInputClient (0 , new TextInputChannel .Configuration (false , false , true , TextInputChannel .TextCapitalization .NONE , null , null , null ));
8787 // There's a pending restart since we initialized the text input client. Flush that now.
8888 textInputPlugin .setTextInputEditingState (testView , new TextInputChannel .TextEditState ("" , 0 , 0 ));
8989
@@ -102,7 +102,7 @@ public void setTextInputEditingState_nullInputMethodSubtype() {
102102
103103 View testView = new View (RuntimeEnvironment .application );
104104 TextInputPlugin textInputPlugin = new TextInputPlugin (testView , mock (DartExecutor .class ), mock (PlatformViewsController .class ));
105- textInputPlugin .setTextInputClient (0 , new TextInputChannel .Configuration (false , false , TextInputChannel .TextCapitalization .NONE , null , null , null ));
105+ textInputPlugin .setTextInputClient (0 , new TextInputChannel .Configuration (false , false , true , TextInputChannel .TextCapitalization .NONE , null , null , null ));
106106 // There's a pending restart since we initialized the text input client. Flush that now.
107107 textInputPlugin .setTextInputEditingState (testView , new TextInputChannel .TextEditState ("" , 0 , 0 ));
108108 assertEquals (1 , testImm .getRestartCount (testView ));
0 commit comments