persist the information of this notification to the android shared preferences . this will allow the application to restore the notification upon device reboot , app restart , retrieve notifications , aso . 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 clear 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 Type getType concode_elem_sep String toString concode_elem_sep Options getOptions concode_elem_sep Context getContext concode_elem_sep boolean isUpdate concode_elem_sep boolean isTriggered concode_elem_sep void setDefaultTriggerReceiver
void function ( ) { SharedPreferences . Editor loc0 = getPrefs ( ) . edit ( ) ; loc0 . putString ( options . getIdStr ( ) , options . toString ( ) ) ; if ( Build . VERSION . SDK_INT < 9 ) { loc0 . commit ( ) ; } else { loc0 . apply ( ) ; } }