Added ANDROID_VERSION envvar

This commit is contained in:
Sergii Pylypenko
2013-04-12 21:25:55 +03:00
parent ffb2f1d05b
commit ed99bfee21
2 changed files with 2 additions and 1 deletions

View File

@@ -2650,6 +2650,7 @@ class Settings
nativeSetEnv( "DATADIR", Globals.DataDir );
nativeSetEnv( "UNSECURE_STORAGE_DIR", Globals.DataDir );
nativeSetEnv( "HOME", Globals.DataDir );
nativeSetEnv( "ANDROID_VERSION", android.os.Build.VERSION.SDK_INT );
try {
DisplayMetrics dm = new DisplayMetrics();
p.getWindowManager().getDefaultDisplay().getMetrics(dm);