am 72735fda: am db231902: am 711c40a2: Merge "Potential fix for apps disappearing in launcher on system server crash" into lmp-dev

* commit '72735fda91d82b8e61dbef9036a28a6890c31c09':
  Potential fix for apps disappearing in launcher on system server crash
This commit is contained in:
Amith Yamasani
2014-07-30 16:51:40 +00:00
committed by Android Git Automerger

View File

@@ -190,7 +190,7 @@ public class LauncherApps {
return info;
}
} catch (RemoteException re) {
return null;
throw new RuntimeException("Failed to call LauncherAppsService");
}
return null;
}
@@ -259,7 +259,7 @@ public class LauncherApps {
try {
return mService.isPackageEnabled(packageName, user);
} catch (RemoteException re) {
return false;
throw new RuntimeException("Failed to call LauncherAppsService");
}
}
@@ -275,7 +275,7 @@ public class LauncherApps {
try {
return mService.isActivityEnabled(component, user);
} catch (RemoteException re) {
return false;
throw new RuntimeException("Failed to call LauncherAppsService");
}
}