remove some transproxy left overs
- fix typo to actually show transproxy warning only once (fixes issue #88)
This commit is contained in:
parent
1b904125f3
commit
cbffc1d6ca
|
@ -224,14 +224,15 @@ android:summary="@string/pref_torrc_summary"
|
||||||
android:dialogTitle="@string/pref_torrc_dialog"
|
android:dialogTitle="@string/pref_torrc_dialog"
|
||||||
android:defaultValue=""
|
android:defaultValue=""
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:key="pref_enable_logging"
|
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>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue