code: @Nullable
    public ServiceInfo removeService(ComponentName componentName) {
      return removeComponent(
          componentName, serviceFilters, p -> p.services, (p, a) -> p.services = a);
    }
docs: Removes service from the package manager.
  
  @return the removed component or {@code null} if no such component existed.