drop abstract domain socket

This commit is contained in:
Max Lv
2015-08-07 22:30:09 +08:00
parent 9a841e901c
commit 97bd714beb
7 changed files with 38 additions and 35 deletions
@@ -104,12 +104,14 @@ class ShadowsocksVpnService extends VpnService with BaseService {
}
override def onCreate() {
super.onCreate()
ConfigUtils.refresh(this)
notificationManager = getSystemService(Context.NOTIFICATION_SERVICE)
.asInstanceOf[NotificationManager]
}
override def onRevoke() {
@@ -182,11 +184,6 @@ class ShadowsocksVpnService extends VpnService with BaseService {
override def startRunner(c: Config) {
if (vpnThread != null) {
vpnThread.stopThread()
vpnThread = null
}
vpnThread = new ShadowsocksVpnThread(this)
vpnThread.start()