mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 12:51:16 +00:00
Disable keep wakelock setting on restart.
This commit is contained in:
parent
53b945dd22
commit
273d24bc15
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue