MountService: Add new 'unmountSecureContainer' API call
Signed-off-by: San Mehat <san@google.com>
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user