urbanairship-core/src/main/java/com/urbanairship/automation/AutomationEngine.java
private void onScheduleConditionsChanged() {
        backgroundHandler.post(new Runnable() {
            @Override
            public void run() {
                List<ScheduleEntry> scheduleEntries = dataManager.getScheduleEntries(ScheduleEntry.STATE_WAITING_SCHEDULE_CONDITIONS);
                if (scheduleEntries.isEmpty()) {
                    return;
                }

                sortSchedulesByPriority(scheduleEntries);
                for (ScheduleEntry entry : scheduleEntries) {
                    attemptExecution(entry);
                }
            }
        });
    }
/**
     * Called when one of the schedule conditions changes.
     */
Called when one of the schedule conditions changes.
Called when one of the schedule conditions changes .
private void onScheduleConditionsChanged() {
        backgroundHandler.post(new Runnable() {
            @Override
            public void run() {
                List<ScheduleEntry> scheduleEntries = dataManager.getScheduleEntries(ScheduleEntry.STATE_WAITING_SCHEDULE_CONDITIONS);
                if (scheduleEntries.isEmpty()) {
                    return;
                }
                sortSchedulesByPriority(scheduleEntries);
                for (ScheduleEntry entry : scheduleEntries) {
                    attemptExecution(entry);
                }
            }
        });
    }
private void onScheduleConditionsChanged ( ) { backgroundHandler . post ( new Runnable ( ) { @ Override public void run ( ) { List < ScheduleEntry > scheduleEntries = dataManager . getScheduleEntries ( ScheduleEntry . STATE_WAITING_SCHEDULE_CONDITIONS ) ; if ( scheduleEntries . isEmpty ( ) ) { return ; } sortSchedulesByPriority ( scheduleEntries ) ; for ( ScheduleEntry entry : scheduleEntries ) { attemptExecution ( entry ) ; } } } ) ; }
Called when one of the schedule conditions changes.
Called when one of the schedule conditions changes .