diff options
author | San Mehat <san@google.com> | 2010-01-18 07:14:02 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-01-18 07:14:02 -0800 |
commit | 2b7ff1c47147e31521a3ef9e7d02252111192cb3 (patch) | |
tree | 32ca31462eafb0bdb075ffa47e72a7438c73e1cc /services/java/com | |
parent | 840e958847f31f835dbf17ce539c9f8317251cc9 (diff) | |
parent | 9dba709d4439d8cdb464a3dcccbddffdbe4b10ff (diff) | |
download | frameworks_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.java | 5 |
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); |