mirror of
https://github.com/gsantner/dandelion
synced 2024-12-22 19:08:03 +01:00
Update gradle and fix proxy port bug
This commit is contained in:
parent
6b512ee110
commit
3e7c843d7b
2 changed files with 2 additions and 7 deletions
|
@ -271,12 +271,7 @@ public class AppSettings {
|
|||
* @return proxy port
|
||||
*/
|
||||
public int getProxyPort() {
|
||||
try {
|
||||
return Integer.parseInt(getString(prefApp, R.string.pref_key__http_proxy_port, "0"));
|
||||
} catch (Exception e) {
|
||||
setString(prefApp, R.string.pref_key__http_proxy_port, "0");
|
||||
return 0;
|
||||
}
|
||||
return getInt(prefApp, R.string.pref_key__http_proxy_port, 0);
|
||||
}
|
||||
|
||||
public void setProxyHttpPort(int value) {
|
||||
|
|
|
@ -5,7 +5,7 @@ buildscript {
|
|||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.2.0'
|
||||
classpath 'com.android.tools.build:gradle:2.2.1'
|
||||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
|
|
Loading…
Reference in a new issue