Small improvement

pull/211/head
M66B 2 years ago
parent aa1f4291a9
commit ee546fcd98

@ -1345,7 +1345,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
private void onState(Intent intent) {
boolean fg = intent.getBooleanExtra("foreground", false);
foreground.setValue(fg);
foreground.postValue(fg);
for (Core.State state : coreStates.values())
state.setForeground(fg);
}

Loading…
Cancel
Save