summaryrefslogtreecommitdiffstats
path: root/services/java/com
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2010-01-18 07:14:02 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-01-18 07:14:02 -0800
commit2b7ff1c47147e31521a3ef9e7d02252111192cb3 (patch)
tree32ca31462eafb0bdb075ffa47e72a7438c73e1cc /services/java/com
parent840e958847f31f835dbf17ce539c9f8317251cc9 (diff)
parent9dba709d4439d8cdb464a3dcccbddffdbe4b10ff (diff)
downloadframeworks_base-2b7ff1c47147e31521a3ef9e7d02252111192cb3.zip
frameworks_base-2b7ff1c47147e31521a3ef9e7d02252111192cb3.tar.gz
frameworks_base-2b7ff1c47147e31521a3ef9e7d02252111192cb3.tar.bz2
Merge "MountService: Add new 'unmountSecureContainer' API call"
Diffstat (limited to 'services/java/com')
-rw-r--r--services/java/com/android/server/MountService.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/services/java/com/android/server/MountService.java b/services/java/com/android/server/MountService.java
index d54c4d9..f8f8742 100644
--- a/services/java/com/android/server/MountService.java
+++ b/services/java/com/android/server/MountService.java
@@ -1057,6 +1057,11 @@ class MountService extends IMountService.Stub
return getSecureContainerPath(id);
}
+ public void unmountSecureContainer(String id) throws IllegalStateException {
+ String cmd = String.format("unmount_asec %s ", id);
+ mConnector.doCommand(cmd);
+ }
+
public String getSecureContainerPath(String id) throws IllegalStateException {
ArrayList<String> rsp = mConnector.doCommand("asec_path " + id);