Settings: Switch to new MountService api names
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 67f3550..75f02e7 100644
--- a/src/com/android/settings/SdCardSettings.java
+++ b/src/com/android/settings/SdCardSettings.java
@@ -169,7 +169,7 @@
OnClickListener mUnmountButtonHandler = new OnClickListener() {
public void onClick(View v) {
try {
- mMountService.unmountMedia(Environment.getExternalStorageDirectory().toString());
+ mMountService.unmountVolume(Environment.getExternalStorageDirectory().toString());
} catch (RemoteException ex) {
}
}
@@ -178,7 +178,7 @@
OnClickListener mFormatButtonHandler = new OnClickListener() {
public void onClick(View v) {
try {
- mMountService.formatMedia(Environment.getExternalStorageDirectory().toString());
+ mMountService.formatVolume(Environment.getExternalStorageDirectory().toString());
} catch (RemoteException ex) {
}
}