am 850d471b: Remove catch now api has hit googlefood.
* commit '850d471b29f853d12cdba7104b3d8ba0159c9540': Remove catch now api has hit googlefood.
This commit is contained in:
@@ -82,11 +82,7 @@ public class LauncherAppsCompatVL extends LauncherAppsCompat {
|
|||||||
synchronized (mCallbacks) {
|
synchronized (mCallbacks) {
|
||||||
mCallbacks.put(callback, wrappedCallback);
|
mCallbacks.put(callback, wrappedCallback);
|
||||||
}
|
}
|
||||||
try {
|
mLauncherApps.registerCallback(wrappedCallback);
|
||||||
mLauncherApps.registerCallback(wrappedCallback);
|
|
||||||
} catch (Throwable e) {
|
|
||||||
// STOPSHIP(kennyguy): Remove when LRW71 hits googlefood
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void removeOnAppsChangedCallback(
|
public void removeOnAppsChangedCallback(
|
||||||
@@ -96,11 +92,7 @@ public class LauncherAppsCompatVL extends LauncherAppsCompat {
|
|||||||
wrappedCallback = mCallbacks.remove(callback);
|
wrappedCallback = mCallbacks.remove(callback);
|
||||||
}
|
}
|
||||||
if (wrappedCallback != null) {
|
if (wrappedCallback != null) {
|
||||||
try {
|
mLauncherApps.unregisterCallback(wrappedCallback);
|
||||||
mLauncherApps.unregisterCallback(wrappedCallback);
|
|
||||||
} catch (Throwable e) {
|
|
||||||
// STOPSHIP(kennyguy): Remove when LRW71 hits googlefood
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user