Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ANON-Public
orbot
Commits
a685bf14
Commit
a685bf14
authored
Oct 25, 2017
by
n8fr8
Browse files
remove unsupported preferences
parent
09103742
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/torproject/android/settings/SettingsPreferences.java
View file @
a685bf14
...
...
@@ -28,7 +28,6 @@ public class SettingsPreferences
extends
PreferenceActivity
implements
OnPreferenceClickListener
{
private
static
final
String
TAG
=
"SettingsPreferences"
;
private
Preference
prefTransProxyApps
=
null
;
private
ListPreference
prefLocale
=
null
;
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
...
...
@@ -65,14 +64,6 @@ public class SettingsPreferences
});
prefTransProxyApps
=
findPreference
(
"pref_transparent_app_list"
);
prefTransProxyApps
.
setOnPreferenceClickListener
(
this
);
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
LOLLIPOP
)
{
prefTransProxyApps
.
setEnabled
(
true
);
}
}
...
...
app/src/main/res/xml/preferences.xml
View file @
a685bf14
...
...
@@ -35,7 +35,7 @@ android:title="@string/pref_allow_background_starts_title"/>
</ListPreference>
</PreferenceCategory>
<!--
<PreferenceCategory android:title="@string/pref_trans_proxy_group">
<CheckBoxPreference
...
...
@@ -75,7 +75,7 @@ android:title="@string/pref_transparent_tethering_title"/>
</PreferenceCategory>
-->
<PreferenceCategory
android:title=
"@string/pref_node_configuration"
android:summary=
"@string/pref_node_configuration_summary"
>
...
...
@@ -225,13 +225,6 @@ android:summary="@string/enable_debug_log_to_output_must_use_adb_or_alogcat_to_v
android:enabled=
"true"
></CheckBoxPreference>
<CheckBoxPreference
android:defaultValue=
"false"
android:key=
"pref_use_sys_iptables"
android:summary=
"@string/pref_use_sys_iptables_summary"
android:enabled=
"true"
android:title=
"@string/pref_use_sys_iptables_title"
/>
<CheckBoxPreference
android:defaultValue=
"true"
...
...
@@ -240,12 +233,6 @@ android:summary="@string/pref_disable_network_summary"
android:enabled=
"true"
android:title=
"@string/pref_disable_network_title"
/>
<CheckBoxPreference
android:defaultValue=
"false"
android:key=
"pref_transproxy_refresh"
android:summary=
"@string/pref_transproxy_refresh_summary"
android:enabled=
"true"
android:title=
"@string/pref_transproxy_refresh_title"
/>
<Preference
android:key=
"pref_transproxy_flush"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment