Disabled boot receiver for android 4.x

This commit is contained in:
PeratX 2017-05-10 06:09:44 +08:00
parent 5a9c8ba51b
commit 57d165a3c5

View File

@ -79,6 +79,9 @@ public class SettingsFragment extends PreferenceFragment {
SwitchPreference advanced = (SwitchPreference) findPreference("settings_advanced_switch");
advanced.setEnabled(false);
advanced.setChecked(false);
SwitchPreference boot = (SwitchPreference) findPreference("settings_boot");
boot.setEnabled(false);
boot.setChecked(false);
}
SwitchPreference advanced = (SwitchPreference) findPreference("settings_advanced_switch");