summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sunny Goyal <sunnygoyal@google.com> 2015-04-21 00:40:23 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2015-04-21 00:40:24 +0000
commit02a2a1b237cfda8e077961787db478e1bc249e02 (patch)
treeed058c6d77067a94586cdd2fc7e14bdf12e172b7
parent33f0c93fa9d1fd793f02e91e4419233a1a228e65 (diff)
parent5892c9a2e2675323d13a8a2d64b46ecfcff8d424 (diff)
Merge "Potential fix for apps disappearing in launcher on system server crash"
-rw-r--r--core/java/android/content/pm/LauncherApps.java1
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 c81517a348f2..5c21c8ee1569 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;