fixed the way disabling of certain settings works on non-root devices
svn:r21851
This commit is contained in:
parent
5d12f5a19e
commit
f5207c36b4
|
@ -17,7 +17,7 @@ public class SettingsPreferences
|
||||||
addPreferencesFromResource(R.xml.preferences);
|
addPreferencesFromResource(R.xml.preferences);
|
||||||
|
|
||||||
if (!TorServiceUtils.hasRoot())
|
if (!TorServiceUtils.hasRoot())
|
||||||
getPreferenceScreen().getPreference(3).setEnabled(false);
|
getPreferenceScreen().getPreference(0).setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
|
|
Loading…
Reference in New Issue