mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 09:07:48 -04:00
[Custom controls] Focus fix(?)
This commit is contained in:
parent
b0518d7b1a
commit
739c3a8862
@ -24,7 +24,7 @@ android {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 26
|
||||
versionCode 156236
|
||||
versionName "3.3.0b_6408b_20201124"
|
||||
versionName "3.3.0b_6408b_20201127"
|
||||
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();
|
||||
|
||||
mKeyHandlerView = findViewById(R.id.main_key_handler);
|
||||
mKeyHandlerView.setFocusable(true);
|
||||
mKeyHandlerView.setFocusableInTouchMode(true);
|
||||
mKeyHandlerView.requestFocus();
|
||||
mKeyHandlerView.setSingleLine(false);
|
||||
|
||||
AndroidLWJGLKeycode.isBackspaceAfterChar = true; // mVersionInfo.minimumLauncherVersion >= 18;
|
||||
|
||||
|
@ -358,7 +358,9 @@ public final class Tools
|
||||
{
|
||||
try {
|
||||
File file = new File(output);
|
||||
if(!file.exists()) file.mkdirs();
|
||||
if(!file.exists()) {
|
||||
file.mkdirs();
|
||||
}
|
||||
File file2 = new File(output, outputName);
|
||||
if(!file2.exists() || overwrite){
|
||||
write(file2.getAbsolutePath(), loadFromAssetToByte(ctx, fileName));
|
||||
|
Loading…
x
Reference in New Issue
Block a user