void function ( ) { SharedPreferences . Editor loc0 = mPreferences . edit ( ) ; final String loc1 = serializeTriggersToString ( mTriggers ) ; if ( loc1 != null ) { loc0 . putString ( TRIGGERS_PREF_KEY , loc1 ) ; } loc0 . commit ( ) ; }
writes the list of triggers to the shared preferences . concode_field_sep String TRIGGERS_PREF_KEY concode_elem_sep CopyOnWriteArrayList<TriggerRepositoryObserver> mTriggerObservers concode_elem_sep SharedPreferences mPreferences concode_elem_sep Context mContext concode_elem_sep Multimap<String,Trigger> mTriggers concode_field_sep void ensureTriggerServiceRunning concode_elem_sep void addObserver concode_elem_sep void notifyOnAdd concode_elem_sep void bootstrapObserver concode_elem_sep String serializeTriggersToString concode_elem_sep void removeObserver concode_elem_sep Multimap<String,Trigger> deserializeTriggersFromString concode_elem_sep boolean isEmpty concode_elem_sep Multimap<String,Trigger> getAllTriggers concode_elem_sep void put concode_elem_sep void remove concode_elem_sep void notifyOnRemove concode_elem_sep void onRemove concode_elem_sep void onPut