MountService: Refactor to use NativeDaemonConnector and clean-up

Signed-off-by: San Mehat <san@google.com>
This commit is contained in:
San Mehat
2010-01-12 12:21:18 -08:00
parent 67bd2cd75f
commit 22dd86e055
4 changed files with 173 additions and 414 deletions

View File

@@ -102,7 +102,7 @@ public class ExternalMediaFormatActivity extends AlertActivity implements Dialog
.getService("mount"));
if (mountService != null) {
try {
mountService.formatMedia(Environment.getExternalStorageDirectory().toString());
mountService.formatVolume(Environment.getExternalStorageDirectory().toString());
} catch (RemoteException e) {
}
}