shadows/framework/src/main/java/org/robolectric/shadows/ShadowLauncherApps.java
public void notifyPackageRemoved(String packageName) {
    for (Pair<LauncherApps.Callback, Handler> callbackPair : callbacks) {
      callbackPair.second.post(
          () -> callbackPair.first.onPackageRemoved(packageName, Process.myUserHandle()));
    }
  }
public void notifyPackageRemoved(String packageName) {
    for (Pair<LauncherApps.Callback, Handler> callbackPair : callbacks) {
      callbackPair.second.post(
          () -> callbackPair.first.onPackageRemoved(packageName, Process.myUserHandle()));
    }
  }
Fires {@link LauncherApps.Callback#onPackageRemoved(String, UserHandle)} on all of the
registered callbacks, with the provided packageName.

@param packageName the package the was removed.