1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 04:41:16 +00:00

Disable keep wakelock setting on restart.

This commit is contained in:
Felix Ableitner 2016-02-20 20:19:51 +01:00
parent 53b945dd22
commit 273d24bc15

View file

@ -69,6 +69,7 @@ public class SettingsFragment extends PreferenceFragment
mOptionsScreen.setEnabled(enabled);
mGuiScreen.setEnabled(enabled);
mUseRoot.setEnabled(enabled);
mKeepWakelock.setEnabled(enabled);
if (currentState == SyncthingService.State.ACTIVE) {
Preference syncthingVersion = getPreferenceScreen().findPreference(SYNCTHING_VERSION_KEY);