private void setExplicitlyStopped ( boolean explicitlyStopped ) { SharedPreferences . Editor editor = mPrefs . edit ( ) ; editor . putBoolean ( constructKey ( EXPLICITLY_STOPPED_SUFFIX ) , explicitlyStopped ) ; editor . apply ( ) ; }
Set a flag in SharedPreferences to indicate whether periodic replications were explicitly stopped .