public void addOrUpdateActivity ( ActivityInfo activityInfo ) { addComponent ( activityFilters , p -> p . activities , ( p , a ) -> p . activities = a , new ActivityInfo ( activityInfo ) , true ) ; }
Adds or updates given activity in the system .