diff options
-rw-r--r-- | src/com/android/settings/SdCardSettings.java | 2 | ||||
-rw-r--r-- | src/com/android/settings/deviceinfo/Memory.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/SdCardSettings.java b/src/com/android/settings/SdCardSettings.java index 2ff5d8a4f..87e8fb360 100644 --- a/src/com/android/settings/SdCardSettings.java +++ b/src/com/android/settings/SdCardSettings.java @@ -176,7 +176,7 @@ public class SdCardSettings extends Activity OnClickListener mUnmountButtonHandler = new OnClickListener() { public void onClick(View v) { try { - mMountService.unmountVolume(Environment.getExternalStorageDirectory().toString()); + mMountService.unmountVolume(Environment.getExternalStorageDirectory().toString(), false); } catch (RemoteException ex) { } } diff --git a/src/com/android/settings/deviceinfo/Memory.java b/src/com/android/settings/deviceinfo/Memory.java index 04eebb136..53c641ab6 100644 --- a/src/com/android/settings/deviceinfo/Memory.java +++ b/src/com/android/settings/deviceinfo/Memory.java @@ -151,7 +151,7 @@ public class Memory extends PreferenceActivity { IMountService mountService = getMountService(); try { if (mountService != null) { - mountService.unmountVolume(Environment.getExternalStorageDirectory().toString()); + mountService.unmountVolume(Environment.getExternalStorageDirectory().toString(), false); } else { Log.e(TAG, "Mount service is null, can't unmount"); } |