Debian: do not update old system image, added convenient launch script

This commit is contained in:
Sergii Pylypenko
2020-01-09 19:43:58 +02:00
parent 7207c9cbaa
commit 4a13c9b8d1
6 changed files with 14 additions and 6 deletions

View File

@@ -161,11 +161,12 @@
+}
--- Settings.java
+++ Settings.java
@@ -636,6 +636,7 @@ public class Settings
@@ -637,6 +638,8 @@
static void setEnvVars(MainActivity p)
{
+ nativeSetEnv( "AUDIO_NATIVE_SAMPLE_RATE", String.valueOf(android.media.AudioTrack.getNativeOutputSampleRate(android.media.AudioManager.STREAM_MUSIC)) );
+ nativeSetEnv( "OS_VERSION", System.getProperty("os.version", "4.0.0") );
String lang = new String(Locale.getDefault().getLanguage());
if( Locale.getDefault().getCountry().length() > 0 )
lang = lang + "_" + Locale.getDefault().getCountry();