diff options
| author | 2010-01-15 16:30:04 -0800 | |
|---|---|---|
| committer | 2010-01-15 16:30:05 -0800 | |
| commit | 3fe3ebfaa671d940f9cd571d782c8c95ce5eaec1 (patch) | |
| tree | 7d23f47753036185fa4bb3330003007c7222af81 | |
| parent | 56e74504f1c66e3d42f2f140740d4aa68ea4f511 (diff) | |
| parent | cf7aa68e11571ecd8e989f8105080d3eac0f86bc (diff) | |
Merge "sdutil: Use new MountService api method names"
| -rw-r--r-- | media/sdutils/sdutil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media/sdutils/sdutil.cpp b/media/sdutils/sdutil.cpp index c77424fbc674..a30e59c037b3 100644 --- a/media/sdutils/sdutil.cpp +++ b/media/sdutils/sdutil.cpp @@ -86,7 +86,7 @@ static void millisecondSleep(int milliseconds) { static int mount(const char* path) { String16 string(path); - gMountService->mountMedia(string); + gMountService->mountVolume(string); for (int i = 0; i < 60; i++) { if (isMounted(path)) { @@ -137,7 +137,7 @@ static int asec_path(const char *id) { static int unmount(const char* path) { String16 string(path); - gMountService->unmountMedia(string); + gMountService->unmountVolume(string); for (int i = 0; i < 20; i++) { if (!isMounted(path)) { @@ -155,7 +155,7 @@ static int format(const char* path) { if (isMounted(path)) return -EBUSY; - gMountService->formatMedia(string); + gMountService->formatVolume(string); return 0; } |