OSDN Git Service

Potential fix for apps disappearing in launcher on system server crash
authorAmith Yamasani <yamasani@google.com>
Tue, 29 Jul 2014 23:25:17 +0000 (16:25 -0700)
committerAmith Yamasani <yamasani@google.com>
Tue, 29 Jul 2014 23:25:17 +0000 (16:25 -0700)
commitad97b8b905bb6f0a30241bea27a56572068c39ab
tree9a81bbf4723f5a515d3d1b085c9b315ea4aa4a5c
parent0615026ba15d7d7a68d0a191d449da47a1ceabea
Potential fix for apps disappearing in launcher on system server crash

Throw RuntimeException to launcher if there was a RemoteException
from LauncherAppsService. This matches the behavior of previous
calls that were made to PackageManager that could have resulted
in a RemoteException if the system server was dying/dead.

Bug: 15687732
Change-Id: Ifda3fda209141b361a286fc033217acfa0ec196e
core/java/android/content/pm/LauncherApps.java