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