commit | aa48540222ef11115b29b8d7f2b7bd1ece772418 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Tue Sep 14 14:49:41 2010 -0700 |
committer | Kenny Root <kroot@google.com> | Tue Sep 14 14:49:41 2010 -0700 |
tree | 985a28185e02c467f4685798c65653ac1cd69839 | |
parent | e7b92d7b53343119173558302ecfb3986ae0fbd6 [diff] |
Free AssetManager weak refs before unmounting AssetManagers are kept in WeakReference pools so there's a change another thread in the system_server has opened a file on the external card. Attempt to force a garbage collection to free these references each time we're about to unmount a volume on the external storage. Change-Id: I6e816e8c67b179887e488dc6758b43bcdd5914fb