OSDN Git Service

Don't crash in window manager if we fail getting .apk resources.
authorDianne Hackborn <hackbod@google.com>
Thu, 21 Jun 2012 22:29:36 +0000 (15:29 -0700)
committerDianne Hackborn <hackbod@google.com>
Thu, 21 Jun 2012 22:29:36 +0000 (15:29 -0700)
commit0b800190d71bbe3459149f760f49dfa6208c0e21
treea2f647aa7cdc71926a2c4d03157714f2252debf5
parentd5353b475001f19e3cbc9c1a4165c9e6038a812f
Don't crash in window manager if we fail getting .apk resources.

This normally shouldn't noramlly happen, but it can in the case of
bug 6647334 (crash in LoadedApk.makeApplication) where the package
manager information becomes inconsistent, and it could also happen
if an app was uninstalled or started updating at just the right
time during a launch.

Bug: 6647334
Change-Id: Iba22efe1d646cdac46099b2135466309577dfa54
services/java/com/android/server/wm/WindowManagerService.java