OSDN Git Service

Fix NPE in InstalledAppDetails activity when app not found.
authorJeff Brown <jeffbrown@google.com>
Thu, 27 May 2010 21:29:34 +0000 (14:29 -0700)
committerJeff Brown <jeffbrown@google.com>
Thu, 27 May 2010 21:32:31 +0000 (14:32 -0700)
commitb0bcf9f7f50b56cb15a72be39fe11fe1351992c1
treeda39900ea994442ea0624001bf4ef4594593853d
parentf3373c99493878f4689a9d4865323c18a2065c3b
Fix NPE in InstalledAppDetails activity when app not found.

Added some extra checks to ensure that the activity exits from
onCreate, onResume and processMoveMsg promptly when the app
info cannot be refreshed.

Bug: b/2711730
Change-Id: Ied22fadce09326dd33cf201e5e9281990bf3abbd
src/com/android/settings/InstalledAppDetails.java