diff options
author | Maksim <MoNTE48@mail.ua> | 2018-12-03 00:39:35 +0100 |
---|---|---|
committer | Paramat <paramat@users.noreply.github.com> | 2018-12-02 23:39:35 +0000 |
commit | f70f7875e2a2e49f80470832ae97e73f171d6460 (patch) | |
tree | 6620b45d2e0dd0b5e910120d6f17bcb471370c46 /build/android/gradlew.bat | |
parent | 1b0fd195c614ffa1b04d687e7793fb5bb266c535 (diff) | |
download | minetest-f70f7875e2a2e49f80470832ae97e73f171d6460.tar.gz minetest-f70f7875e2a2e49f80470832ae97e73f171d6460.tar.bz2 minetest-f70f7875e2a2e49f80470832ae97e73f171d6460.zip |
Update Android java code (#7820)
Targets SDK 26 as required by the playstore.
Fixes screen auto-rotation closing game.
Hides on-screen navigation bar if present.
Update gradlew.
Fix display aspect on 18+/:9 displays (like a Samsung Galaxy S9).
Remove small app icons, not required.
Fix xml in unpacking activity.
Support Android permission: On Android 6.0+ you need to manually give write
permission (as required by google).
Background during unpacking (just a demo for now).
Material Design: no more Android 2 interface.
Immersive mode (Android 4.4+ - hide NavBar for fullscreen mode).
Diffstat (limited to 'build/android/gradlew.bat')
-rw-r--r-- | build/android/gradlew.bat | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/build/android/gradlew.bat b/build/android/gradlew.bat index 8a0b282aa..f9553162f 100644 --- a/build/android/gradlew.bat +++ b/build/android/gradlew.bat @@ -8,14 +8,14 @@ @rem Set local scope for the variables with windows NT shell if "%OS%"=="Windows_NT" setlocal -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= - set DIRNAME=%~dp0 if "%DIRNAME%" == "" set DIRNAME=. set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + @rem Find java.exe if defined JAVA_HOME goto findJavaFromJavaHome @@ -46,10 +46,9 @@ echo location of your Java installation. goto fail :init -@rem Get command-line arguments, handling Windowz variants +@rem Get command-line arguments, handling Windows variants if not "%OS%" == "Windows_NT" goto win9xME_args -if "%@eval[2+2]" == "4" goto 4NT_args :win9xME_args @rem Slurp the command line arguments. @@ -60,11 +59,6 @@ set _SKIP=2 if "x%~1" == "x" goto execute set CMD_LINE_ARGS=%* -goto execute - -:4NT_args -@rem Get arguments from the 4NT Shell from JP Software -set CMD_LINE_ARGS=%$ :execute @rem Setup the command line |