remove some transproxy left overs

- fix typo to actually show transproxy warning only once (fixes issue #88)
This commit is contained in:
Unpublished 2017-10-31 22:22:52 +01:00
parent 1b904125f3
commit cbffc1d6ca
3 changed files with 5 additions and 12 deletions

View File

@ -231,7 +231,8 @@ android:key="pref_enable_logging"
android:defaultValue="false" android:defaultValue="false"
android:title="Debug Log" android:title="Debug Log"
android:summary="@string/enable_debug_log_to_output_must_use_adb_or_alogcat_to_view_" android:summary="@string/enable_debug_log_to_output_must_use_adb_or_alogcat_to_view_"
android:enabled="true"></CheckBoxPreference> android:enabled="true"
/>
@ -242,12 +243,5 @@ android:summary="@string/pref_disable_network_summary"
android:enabled="true" android:enabled="true"
android:title="@string/pref_disable_network_title"/> android:title="@string/pref_disable_network_title"/>
<Preference
android:key="pref_transproxy_flush"
android:summary="@string/pref_transproxy_flush_summary"
android:enabled="true"
android:title="@string/pref_transproxy_flush_title"/>
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>

View File

@ -94,7 +94,6 @@ public class TorService extends Service implements TorServiceConstants, OrbotCon
private int mPortSOCKS = SOCKS_PROXY_PORT_DEFAULT; private int mPortSOCKS = SOCKS_PROXY_PORT_DEFAULT;
private static final int NOTIFY_ID = 1; private static final int NOTIFY_ID = 1;
private static final int TRANSPROXY_NOTIFY_ID = 2;
private static final int ERROR_NOTIFY_ID = 3; private static final int ERROR_NOTIFY_ID = 3;
private static final int HS_NOTIFY_ID = 4; private static final int HS_NOTIFY_ID = 4;

View File

@ -77,7 +77,7 @@ public class Prefs {
} }
public static void disableTransparentProxying() { public static void disableTransparentProxying() {
prefs.getBoolean(PREF_TRANSPARENT, false); putBoolean(PREF_TRANSPARENT, false);
} }
public static boolean transparentProxyAll() { public static boolean transparentProxyAll() {