OSDN Git Service

Fix crashes related to unmounting when app on sdcard has an active notification
authorSuchi Amalapurapu <asuchitra@google.com>
Thu, 8 Apr 2010 21:37:05 +0000 (14:37 -0700)
committerSuchi Amalapurapu <asuchitra@google.com>
Tue, 13 Apr 2010 18:20:57 +0000 (11:20 -0700)
commit3d24425165aabfd2a8d5e5f973f085c6e6446341
treec8f3c3a3f4448aa285bf6833aef9f361a181b830
parentbcac496076ef6f439147e7a2be71e8a2b76ddede
Fix crashes related to unmounting when app on sdcard has an active notification
in status bar.
When unmounting sdcard, all the secure containers have to be unmounted first
before invoking the MountService call back. We send a broadcast
about disabled packages. Force a gc to clean up any stale asset references
 and then unmount the containers before invoking the MountService call back.

Change-Id: I831da1ae54aeec89de3601b94a4a2fae5dc7e495
services/java/com/android/server/PackageManagerService.java