|
|
@ -641,8 +641,8 @@ public class BrowserActivity extends ActionBarActivity implements BrowserControl |
|
|
|
try { |
|
|
|
try { |
|
|
|
String host = mPreferences.getString(PreferenceConstants.USE_PROXY_HOST, "localhost"); |
|
|
|
String host = mPreferences.getString(PreferenceConstants.USE_PROXY_HOST, "localhost"); |
|
|
|
int port = mPreferences.getInt(PreferenceConstants.USE_PROXY_PORT, 8118); |
|
|
|
int port = mPreferences.getInt(PreferenceConstants.USE_PROXY_PORT, 8118); |
|
|
|
WebkitProxy.setProxy("acr.browser.lightning.BrowserApp", getApplicationContext(), host, |
|
|
|
WebkitProxy.setProxy(this.getPackageName() + ".BrowserApp", getApplicationContext(), |
|
|
|
port); |
|
|
|
host, port); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
Log.d(Constants.TAG, "error enabling web proxying", e); |
|
|
|
Log.d(Constants.TAG, "error enabling web proxying", e); |
|
|
|
} |
|
|
|
} |
|
|
|