commit | 8c2c15b1c611708c85b3f1ba86b6db79c5c004d5 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Oct 17 15:17:19 2013 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Oct 17 15:30:30 2013 -0700 |
tree | e154243f38a5a86c9d49d55189540c2ea1f62369 | |
parent | 0de365fc0af30ae48c2037e1057f2a813029a618 [diff] |
Clean up ASEC unmounting on physical storage. When physical devices are unsafely removed, unmountAllAsecsInDir() fails to find any ASECs, and leaves them all mounted, preventing the rest of volume from going down. Now we examine all ASEC containers, and remove when on external storage, or when the storage media is no longer found. Bug: 11175082 Change-Id: Iffa38ea43f7e5ad78b598374ebeb60a8727d99fd