Added reload reasons

pull/178/head
M66B 6 years ago
parent 0dc8419952
commit 9ccff1b870

@ -565,10 +565,12 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
if (PREF_EVAL.contains(key)) { if (PREF_EVAL.contains(key)) {
Bundle command = new Bundle(); Bundle command = new Bundle();
command.putString("pref", key);
command.putString("name", "eval"); command.putString("name", "eval");
liveAccountNetworkState.post(command); liveAccountNetworkState.post(command);
} else if (PREF_RELOAD.contains(key)) { } else if (PREF_RELOAD.contains(key)) {
Bundle command = new Bundle(); Bundle command = new Bundle();
command.putString("pref", key);
command.putString("name", "reload"); command.putString("name", "reload");
liveAccountNetworkState.post(command); liveAccountNetworkState.post(command);
} }

Loading…
Cancel
Save