refine the lock screen receiver

This commit is contained in:
Max Lv
2014-12-18 09:17:57 +08:00
parent 000d03ad4c
commit dec098fbc5
3 changed files with 51 additions and 10 deletions
@@ -479,7 +479,7 @@ class ShadowsocksVpnService extends VpnService with BaseService {
}
// stop the service if no callback registered
if (callbackCount == 0) {
if (getCallbackCount == 0) {
stopSelf()
}