Gimp: warn user about deleting files during upgrade, removed old cruft

This commit is contained in:
Sergii Pylypenko
2015-03-31 23:14:18 +03:00
parent a56f84b238
commit 4fc05b347f
18 changed files with 118 additions and 41 deletions

View File

@@ -619,6 +619,9 @@ class Settings
nativeSetEnv( "SDCARD", Environment.getExternalStorageDirectory().getAbsolutePath() );
nativeSetEnv( "ANDROID_VERSION", String.valueOf(android.os.Build.VERSION.SDK_INT) );
nativeSetEnv( "ANDROID_PACKAGE_NAME", p.getPackageName() );
try {
nativeSetEnv( "ANDROID_APP_NAME", p.getString(p.getApplicationInfo().labelRes) );
} catch (Exception eeeeee) {}
if( Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO )
nativeSetEnv( "ANDROID_PACKAGE_PATH", p.getPackageCodePath() );
Log.d("SDL", "libSDL: Is running on OUYA: " + p.isRunningOnOUYA());