Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 850d471b authored by Kenny Guy's avatar Kenny Guy
Browse files

Remove catch now api has hit googlefood.

Bug: 17543647
Change-Id: Ie0b57719393a705e8c02b226d3e3f57dbf43d800
parent 83e5941d
Loading
Loading
Loading
Loading
+2 −10
Original line number Original line Diff line number Diff line
@@ -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
            }
        }
        }
    }
    }