urbanairship-core/src/main/java/com/urbanairship/actions/ActionRegistry.java
public void addSituationOverride(@NonNull Action action, @Action.Situation int situation) {
            //noinspection ConstantConditions
            if (action == null) {
                return;
            }

            situationOverrides.put(situation, action);
        }
/**
         * Adds an action to be used instead of the default action for a
         * given situation.
         *
         * @param action Action for the situation
         * @param situation The situation to override
         */
Adds an action to be used instead of the default action for a
given situation.

@param action Action for the situation
@param situation The situation to override
Adds an action to be used instead of the default action for a given situation . @param action Action for the situation @param situation The situation to override
public void addSituationOverride(@NonNull Action action, @Action.Situation int situation) {
            if (action == null) {
                return;
            }
            situationOverrides.put(situation, action);
        }
public void addSituationOverride ( @ NonNull Action action , @ Action . Situation int situation ) { if ( action == null ) { return ; } situationOverrides . put ( situation , action ) ; }
Adds an action to be used instead of the default action for a
 given situation.
Adds an action to be used instead of the default action for a given situation .
//noinspection ConstantConditions