mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-21 09:01:56 -07:00
[Custom controls] Focus fix(?)
This commit is contained in:
parent
b0518d7b1a
commit
739c3a8862
5 changed files with 7 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ android {
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 26
|
targetSdkVersion 26
|
||||||
versionCode 156236
|
versionCode 156236
|
||||||
versionName "3.3.0b_6408b_20201124"
|
versionName "3.3.0b_6408b_20201127"
|
||||||
multiDexEnabled true //important
|
multiDexEnabled true //important
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
1
app/src/main/assets/components/jre/version
Normal file
1
app/src/main/assets/components/jre/version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
20201127
|
||||||
1
app/src/main/assets/components/lwjgl3/version
Normal file
1
app/src/main/assets/components/lwjgl3/version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
20201127
|
||||||
|
|
@ -199,9 +199,7 @@ public class BaseMainActivity extends LoggableActivity {
|
||||||
this.drawerLayout.closeDrawers();
|
this.drawerLayout.closeDrawers();
|
||||||
|
|
||||||
mKeyHandlerView = findViewById(R.id.main_key_handler);
|
mKeyHandlerView = findViewById(R.id.main_key_handler);
|
||||||
mKeyHandlerView.setFocusable(true);
|
mKeyHandlerView.setSingleLine(false);
|
||||||
mKeyHandlerView.setFocusableInTouchMode(true);
|
|
||||||
mKeyHandlerView.requestFocus();
|
|
||||||
|
|
||||||
AndroidLWJGLKeycode.isBackspaceAfterChar = true; // mVersionInfo.minimumLauncherVersion >= 18;
|
AndroidLWJGLKeycode.isBackspaceAfterChar = true; // mVersionInfo.minimumLauncherVersion >= 18;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -358,7 +358,9 @@ public final class Tools
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
File file = new File(output);
|
File file = new File(output);
|
||||||
if(!file.exists()) file.mkdirs();
|
if(!file.exists()) {
|
||||||
|
file.mkdirs();
|
||||||
|
}
|
||||||
File file2 = new File(output, outputName);
|
File file2 = new File(output, outputName);
|
||||||
if(!file2.exists() || overwrite){
|
if(!file2.exists() || overwrite){
|
||||||
write(file2.getAbsolutePath(), loadFromAssetToByte(ctx, fileName));
|
write(file2.getAbsolutePath(), loadFromAssetToByte(ctx, fileName));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue