try to fix #114
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user