File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -769,18 +769,6 @@ public boolean checkPermission(String permission) {
769
769
return false ;
770
770
}
771
771
}
772
-
773
- public void openKeyboard () {
774
- Context context = surface .getContext ();
775
- InputMethodManager imm = (InputMethodManager )context .getSystemService (Context .INPUT_METHOD_SERVICE );
776
- imm .toggleSoftInput (InputMethodManager .SHOW_FORCED ,0 );
777
- }
778
-
779
- public void closeKeyboard () {
780
- Context context = surface .getContext ();
781
- InputMethodManager imm = (InputMethodManager )context .getSystemService (Context .INPUT_METHOD_SERVICE );
782
- imm .toggleSoftInput (InputMethodManager .HIDE_IMPLICIT_ONLY , 0 );
783
- }
784
772
785
773
786
774
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
@@ -2401,6 +2389,20 @@ protected void nativeKeyEvent(android.view.KeyEvent event) {
2401
2389
}
2402
2390
2403
2391
2392
+ public void openKeyboard () {
2393
+ Context context = surface .getContext ();
2394
+ InputMethodManager imm = (InputMethodManager )context .getSystemService (Context .INPUT_METHOD_SERVICE );
2395
+ imm .toggleSoftInput (InputMethodManager .SHOW_FORCED ,0 );
2396
+ }
2397
+
2398
+
2399
+ public void closeKeyboard () {
2400
+ Context context = surface .getContext ();
2401
+ InputMethodManager imm = (InputMethodManager )context .getSystemService (Context .INPUT_METHOD_SERVICE );
2402
+ imm .toggleSoftInput (InputMethodManager .HIDE_IMPLICIT_ONLY , 0 );
2403
+ }
2404
+
2405
+
2404
2406
public void keyPressed () { }
2405
2407
2406
2408
You can’t perform that action at this time.
0 commit comments