mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 13:30:15 -07:00
Reimplement the key pipe as Android docs suggest
This commit is contained in:
parent
5400f82323
commit
a17ba2170f
2 changed files with 21 additions and 6 deletions
|
|
@ -738,7 +738,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
Tools.showError(this, e, true);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
@Override
|
||||
public boolean dispatchKeyEvent(KeyEvent event) {
|
||||
switch (event.getAction()) {
|
||||
|
|
@ -753,7 +753,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
|
||||
return super.dispatchKeyEvent(event);
|
||||
}
|
||||
|
||||
*/
|
||||
//private Dialog menuDial;
|
||||
|
||||
@Override
|
||||
|
|
@ -1056,6 +1056,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
public void showKeyboard() {
|
||||
((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE)).toggleSoftInput(InputMethodManager.SHOW_FORCED, InputMethodManager.HIDE_IMPLICIT_ONLY);
|
||||
minecraftGLView.requestFocusFromTouch();
|
||||
minecraftGLView.requestFocus();
|
||||
}
|
||||
|
||||
protected void setRightOverride(boolean val) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue