public ServiceInfo addServiceIfNotPresent ( ComponentName componentName ) { return addComponent ( serviceFilters , p -> p . services , ( p , a ) -> p . services = a , updateName ( componentName , new ServiceInfo ( ) ) , false ) ; }
Makes sure that given service exists .