Added reload reasons

This commit is contained in:
M66B
2020-04-07 11:20:27 +02:00
parent 0dc8419952
commit 9ccff1b870

View File

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