Merge "Add API to check for emulated external storage"

This commit is contained in:
Kenny Root
2010-10-12 12:45:46 -07:00
committed by Android (Google) Code Review
5 changed files with 75 additions and 7 deletions

View File

@@ -1240,6 +1240,10 @@ class MountService extends IMountService.Stub
return mLegacyState;
}
public boolean isExternalStorageEmulated() {
return mEmulateExternalStorage;
}
public int mountVolume(String path) {
validatePermission(android.Manifest.permission.MOUNT_UNMOUNT_FILESYSTEMS);