summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/deviceinfo/Memory.java
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2010-02-18 11:44:21 -0800
committerSan Mehat <san@google.com>2010-02-18 11:48:49 -0800
commitefb26fd2198a42243c1f63a33cb23d9f09815961 (patch)
treed0dfd614366fca87d9c709ee0ea9b6f4345385a8 /src/com/android/settings/deviceinfo/Memory.java
parentfbec09d99814ec519981b70db198437a72321861 (diff)
downloadpackages_apps_Settings-efb26fd2198a42243c1f63a33cb23d9f09815961.tar.gz
packages_apps_Settings-efb26fd2198a42243c1f63a33cb23d9f09815961.tar.bz2
packages_apps_Settings-efb26fd2198a42243c1f63a33cb23d9f09815961.zip
Settings: sdcard: Refactor unmount calls for new api
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'src/com/android/settings/deviceinfo/Memory.java')
-rw-r--r--src/com/android/settings/deviceinfo/Memory.java2
1 files changed, 1 insertions, 1 deletions
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");
}