reverted default card path to /mnt/sdcard/Wagic

This commit is contained in:
techdragon.nguyen@gmail.com
2012-03-01 03:41:51 +00:00
parent 15b99acdfb
commit 7482fa811c
2 changed files with 6 additions and 6 deletions

View File

@@ -240,10 +240,10 @@ public class SDLActivity extends Activity implements OnKeyListener{
//
File wagicMediaPath = null;
String packageName = mContext.getPackageName();
//String packageName = mContext.getPackageName(); // possibly use this to differentiate between different mods of Wagic.
File externalFilesDir = Environment.getExternalStorageDirectory();
if ( externalFilesDir != null) {
internalPath = externalFilesDir.getAbsolutePath() + "/" + packageName + "/Wagic";
internalPath = externalFilesDir.getAbsolutePath() + "/Wagic";
}
String state = Environment.getExternalStorageState();
@@ -266,7 +266,7 @@ public class SDLActivity extends Activity implements OnKeyListener{
}
else
{ // found a removable media location
sdcardPath = selectedRemovableCardPath + "/" + packageName + "/Wagic";
sdcardPath = selectedRemovableCardPath + "/Wagic";
}
}