Settings: sdcard: Refactor unmount calls for new api
Signed-off-by: San Mehat <san@google.com>
diff --git a/src/com/android/settings/SdCardSettings.java b/src/com/android/settings/SdCardSettings.java
index 2ff5d8a..87e8fb3 100644
--- a/src/com/android/settings/SdCardSettings.java
+++ b/src/com/android/settings/SdCardSettings.java
@@ -176,7 +176,7 @@
OnClickListener mUnmountButtonHandler = new OnClickListener() {
public void onClick(View v) {
try {
- mMountService.unmountVolume(Environment.getExternalStorageDirectory().toString());
+ mMountService.unmountVolume(Environment.getExternalStorageDirectory().toString(), false);
} catch (RemoteException ex) {
}
}