Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed May 23, 2015
1 parent 3dd718d commit 64e6f14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.shadowsocks"
android:versionCode="105"
android:versionName="2.6.7">
android:versionCode="106"
android:versionName="2.6.8">

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
Expand Down
3 changes: 2 additions & 1 deletion src/main/scala/com/github/shadowsocks/Shadowsocks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,8 @@ class Shadowsocks
ConfigUtils.refresh(this)

// Check if profile list changed
if (currentProfile.id != settings.getInt(Key.profileId, -1))
val id = settings.getInt(Key.profileId, -1)
if (id != -1 && id != currentProfile.id)
reloadProfile()
}

Expand Down

0 comments on commit 64e6f14

Please sign in to comment.