am a7b95f2a: am 850d471b: Remove catch now api has hit googlefood.

* commit 'a7b95f2a39e9059b7229cf73e6a2e5b8eac98df9':
  Remove catch now api has hit googlefood.
This commit is contained in:
Kenny Guy 2014-09-18 12:27:46 +00:00 committed by Android Git Automerger
commit f43009407d
1 changed files with 2 additions and 10 deletions

View File

@ -82,11 +82,7 @@ public class LauncherAppsCompatVL extends LauncherAppsCompat {
synchronized (mCallbacks) {
mCallbacks.put(callback, wrappedCallback);
}
try {
mLauncherApps.registerCallback(wrappedCallback);
} catch (Throwable e) {
// STOPSHIP(kennyguy): Remove when LRW71 hits googlefood
}
mLauncherApps.registerCallback(wrappedCallback);
}
public void removeOnAppsChangedCallback(
@ -96,11 +92,7 @@ public class LauncherAppsCompatVL extends LauncherAppsCompat {
wrappedCallback = mCallbacks.remove(callback);
}
if (wrappedCallback != null) {
try {
mLauncherApps.unregisterCallback(wrappedCallback);
} catch (Throwable e) {
// STOPSHIP(kennyguy): Remove when LRW71 hits googlefood
}
mLauncherApps.unregisterCallback(wrappedCallback);
}
}