|
|
|
@ -547,7 +547,7 @@ public class BrowserActivity extends ThemableActivity implements BrowserControll
@@ -547,7 +547,7 @@ public class BrowserActivity extends ThemableActivity implements BrowserControll
|
|
|
|
|
try { |
|
|
|
|
String host = mPreferences.getProxyHost(); |
|
|
|
|
int port = mPreferences.getProxyPort(); |
|
|
|
|
WebkitProxy.setProxy(this.getPackageName() + ".BrowserApp", getApplicationContext(), |
|
|
|
|
WebkitProxy.setProxy(BrowserApp.class.getName(), getApplicationContext(), |
|
|
|
|
host, port); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
Log.d(Constants.TAG, "error enabling web proxying", e); |
|
|
|
@ -710,7 +710,7 @@ public class BrowserActivity extends ThemableActivity implements BrowserControll
@@ -710,7 +710,7 @@ public class BrowserActivity extends ThemableActivity implements BrowserControll
|
|
|
|
|
initializeTor(); |
|
|
|
|
} else { |
|
|
|
|
try { |
|
|
|
|
WebkitProxy.resetProxy(mActivity.getPackageName() + ".BrowserApp", |
|
|
|
|
WebkitProxy.resetProxy(BrowserApp.class.getName(), |
|
|
|
|
getApplicationContext()); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
e.printStackTrace(); |
|
|
|
|