clear the local notification without canceling repeating alarms . concode_field_sep Class<?> defaultReceiver concode_elem_sep Class<?> receiver concode_elem_sep String PREF_KEY concode_elem_sep Context context concode_elem_sep Options options concode_elem_sep NotificationCompat.Builder builder concode_field_sep void cancel concode_elem_sep boolean wasInThePast concode_elem_sep NotificationManager getNotMgr concode_elem_sep SharedPreferences getPrefs concode_elem_sep void show concode_elem_sep int getId concode_elem_sep boolean isScheduled concode_elem_sep void showNotification concode_elem_sep int getTriggerCountSinceSchedule concode_elem_sep void unpersist concode_elem_sep void schedule concode_elem_sep AlarmManager getAlarmMgr concode_elem_sep boolean isRepeating concode_elem_sep void showDialog concode_elem_sep Type getType concode_elem_sep String toString concode_elem_sep Options getOptions concode_elem_sep void persist concode_elem_sep Context getContext concode_elem_sep boolean isUpdate concode_elem_sep boolean isTriggered concode_elem_sep void setDefaultTriggerReceiver
void function ( ) { if ( ! isRepeating ( ) && wasInThePast ( ) ) { unpersist ( ) ; } else { getNotMgr ( ) . cancel ( getId ( ) ) ; } }