diff --git a/.gitignore b/.gitignore
index c87e26f..1e94c09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,12 @@
*.iml
.gradle
-/local.properties
-/.idea/workspace.xml
-/.idea/caches
-/.idea/libraries
+local.properties
+.idea/workspace.xml
+.idea/caches
+.idea/libraries
.DS_Store
-/build
-/captures
+build
+captures
.externalNativeBuild
-/app/src/.deps
\ No newline at end of file
+app/src/.deps
+app/src/jniLibs
\ No newline at end of file
diff --git a/app/build.gradle b/app/build.gradle
index 72ad7a1..2f4e539 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -14,8 +14,8 @@ android {
applicationId "com.github.shadowsocks.plugin.ck_client"
minSdkVersion 19
targetSdkVersion 26
- versionCode 4
- versionName '2.0.0'
+ versionCode 5
+ versionName '2.1.1'
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
diff --git a/app/src/main/ic_launcher-web.png b/app/src/main/ic_launcher-web.png
index e2de0cb..122c1e6 100644
Binary files a/app/src/main/ic_launcher-web.png and b/app/src/main/ic_launcher-web.png differ
diff --git a/app/src/main/java/com/github/shadowsocks/plugin/ck_client/ConfigFragment.kt b/app/src/main/java/com/github/shadowsocks/plugin/ck_client/ConfigFragment.kt
index 852d32f..e37c81c 100644
--- a/app/src/main/java/com/github/shadowsocks/plugin/ck_client/ConfigFragment.kt
+++ b/app/src/main/java/com/github/shadowsocks/plugin/ck_client/ConfigFragment.kt
@@ -17,7 +17,7 @@ class ConfigFragment : PreferenceFragment() {
this._options = options
val ary = arrayOf(Pair("ProxyMethod","shadowsocks"), Pair("EncryptionMethod","plain"),
Pair("UID", ""), Pair("PublicKey",""), Pair("ServerName", "bing.com"),
- Pair("NumConn","4"), Pair("BrowserSig", "chrome"))
+ Pair("NumConn","4"), Pair("BrowserSig", "chrome"), Pair("StreamTimeout","300"))
for (element in ary) {
val key = element.first
val defaultValue = element.second
diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml
index f3a92b0..73e2d18 100644
--- a/app/src/main/res/drawable/ic_launcher_background.xml
+++ b/app/src/main/res/drawable/ic_launcher_background.xml
@@ -1,170 +1,37 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ android:height="108dp"
+ android:viewportWidth="47.761223"
+ android:viewportHeight="47.761223">
+
+
+
+
+
+
diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml
index 7a246d8..ef6d485 100644
--- a/app/src/main/res/drawable/ic_launcher_foreground.xml
+++ b/app/src/main/res/drawable/ic_launcher_foreground.xml
@@ -1,12 +1,21 @@
-
-
+ android:viewportWidth="50.281986"
+ android:viewportHeight="50.281986">
+
+
+
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png
index f0f7d46..11e960a 100644
Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png
index 9171e70..842511a 100644
Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png
index fa4b2c8..0269ccf 100644
Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
index c55092d..aa01d3d 100644
Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
index 581345e..aed590d 100644
Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index abe0cc0..33f8c76 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -7,4 +7,5 @@
Browser Signature
Encryption Method
Proxy Method
+ Stream Timeout
diff --git a/app/src/main/res/xml/config.xml b/app/src/main/res/xml/config.xml
index dfcf131..4b5905f 100644
--- a/app/src/main/res/xml/config.xml
+++ b/app/src/main/res/xml/config.xml
@@ -39,5 +39,11 @@
android:summary="%s"
android:entries="@array/browsers"
android:entryValues="@array/browsers" />
+
\ No newline at end of file
diff --git a/app/src/make.sh b/app/src/make.sh
index 7c0c344..120744e 100644
--- a/app/src/make.sh
+++ b/app/src/make.sh
@@ -62,6 +62,7 @@ fi
pushd $DEPS
echo "Getting Cloak source code"
+rm -rf Cloak
GO111MOD=on
git clone https://github.com/cbeuw/Cloak
pushd Cloak