Commit 86e93ffa authored by Max Lv's avatar Max Lv

try to fix #114

parent acd89cc9
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.shadowsocks"
android:versionCode="69"
android:versionName="2.2.1">
android:versionCode="70"
android:versionName="2.2.2">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
......@@ -75,14 +75,12 @@
<service
android:name=".ShadowsocksNatService"
android:process=":proxy"
android:exported="false">
</service>
<service
android:name=".ShadowsocksVpnService"
android:label="@string/app_name"
android:process=":vpn"
android:permission="android.permission.BIND_VPN_SERVICE"
android:exported="false">
<intent-filter>
......
......@@ -370,15 +370,6 @@ class ShadowsocksVpnService extends VpnService with BaseService {
notificationManager.cancel(1)
}
override def onStartCommand(intent: Intent, flags: Int, startId: Int): Int =
{
Service.START_STICKY
}
override def onTaskRemoved(intent: Intent) {
stopRunner()
}
override def stopBackgroundService() {
stopRunner()
}
......
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