Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/org/adblockplus/android/Utils.java

Issue 6074937345310720: Issue 1262 - Wrong proxy configuration message (Closed)
Patch Set: Created Aug. 26, 2014, 12:51 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/org/adblockplus/android/ProxyService.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/org/adblockplus/android/Utils.java
diff --git a/src/org/adblockplus/android/Utils.java b/src/org/adblockplus/android/Utils.java
index 2832bbfffaa59fe89fc3e62bc056bc3998ee9d67..2a79ffdb476bac3e6482bee0715deab3cdcf8758 100644
--- a/src/org/adblockplus/android/Utils.java
+++ b/src/org/adblockplus/android/Utils.java
@@ -17,7 +17,6 @@
package org.adblockplus.android;
-import org.adblockplus.android.configurators.NativeProxyConfigurator;
import org.adblockplus.android.updater.UpdaterActivity;
import org.adblockplus.libadblockplus.JsValue;
import org.adblockplus.libadblockplus.Subscription;
@@ -31,25 +30,11 @@ import android.support.v4.app.NotificationCompat;
public final class Utils
{
- private static boolean nativeProxySupportChecked = false;
- private static boolean nativeProxySupported = false;
-
private Utils()
{
//
}
- public static synchronized boolean isNativeProxySupported(final Context context)
- {
- if (!nativeProxySupportChecked)
- {
- nativeProxySupported = NativeProxyConfigurator.canUse(context);
- nativeProxySupportChecked = true;
- }
-
- return nativeProxySupported;
- }
-
public static String getTag(final Class<?> clazz)
{
return clazz.getSimpleName();
« no previous file with comments | « src/org/adblockplus/android/ProxyService.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld