vold: Unmount secure containers when the underlying media is removed.
Signed-off-by: San Mehat <san@google.com>
diff --git a/VolumeManager.h b/VolumeManager.h
index 15dddaf..a0761b4 100644
--- a/VolumeManager.h
+++ b/VolumeManager.h
@@ -25,6 +25,8 @@
#include "BlockDevice.h"
#include "Volume.h"
+typedef android::List<char *> AsecIdCollection;
+
class VolumeManager {
private:
static VolumeManager *sInstance;
@@ -34,6 +36,7 @@
BlockDeviceCollection *mBlockDevices;
VolumeCollection *mVolumes;
+ AsecIdCollection *mActiveContainers;
bool mUsbMassStorageConnected;
public: