Fixed leftover "app-data" path in SDL settings

This commit is contained in:
pelya
2012-12-11 18:08:07 +02:00
parent afef160b46
commit dd34270766

View File

@@ -627,7 +627,7 @@ class Settings
{
Globals.DownloadToSdcard = (item != 0);
Globals.DataDir = Globals.DownloadToSdcard ?
Environment.getExternalStorageDirectory().getAbsolutePath() + "/app-data/" + Globals.class.getPackage().getName() :
SdcardAppPath.getPath(p) :
p.getFilesDir().getAbsolutePath();
goBack(p);
}