Commit 64e6f14d authored by Max Lv's avatar Max Lv

bump version

parent 3dd718dc
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.shadowsocks" package="com.github.shadowsocks"
android:versionCode="105" android:versionCode="106"
android:versionName="2.6.7"> android:versionName="2.6.8">
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
......
...@@ -847,7 +847,8 @@ class Shadowsocks ...@@ -847,7 +847,8 @@ class Shadowsocks
ConfigUtils.refresh(this) ConfigUtils.refresh(this)
// Check if profile list changed // 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() reloadProfile()
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment