diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-04-20 12:44:08 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-04-20 13:53:06 -0700 |
commit | 5892c9a2e2675323d13a8a2d64b46ecfcff8d424 (patch) | |
tree | 131fa986d18bdd22c72a386e8705e007a9144d95 /core/java/android/content | |
parent | 363cbe5f7d1df03995ec0504bc899792172f0cd4 (diff) | |
download | frameworks_base-5892c9a2e2675323d13a8a2d64b46ecfcff8d424.zip frameworks_base-5892c9a2e2675323d13a8a2d64b46ecfcff8d424.tar.gz frameworks_base-5892c9a2e2675323d13a8a2d64b46ecfcff8d424.tar.bz2 |
Potential fix for apps disappearing in launcher on system server crash
Based on Ifda3fda209141b361a286fc033217acfa0ec196e
Bug: 20420558
Change-Id: Icfcaf585b8a19853fe2c0fd0e4f06a2efc087938
Diffstat (limited to 'core/java/android/content')
-rw-r--r-- | core/java/android/content/pm/LauncherApps.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/content/pm/LauncherApps.java b/core/java/android/content/pm/LauncherApps.java index c81517a..5c21c8e 100644 --- a/core/java/android/content/pm/LauncherApps.java +++ b/core/java/android/content/pm/LauncherApps.java @@ -146,6 +146,7 @@ public class LauncherApps { try { activities = mService.getLauncherActivities(packageName, user); } catch (RemoteException re) { + throw new RuntimeException("Failed to call LauncherAppsService"); } if (activities == null) { return Collections.EMPTY_LIST; |