Fix notification not updated when service is started and the screen is off

This commit is contained in:
Mygod
2015-12-01 21:47:35 +08:00
parent ecfbc3e1a7
commit b0180fb9a1
@@ -26,7 +26,7 @@ class ShadowsocksNotification(private val service: BaseService, profileName: Str
}
}
private var lockReceiver: BroadcastReceiver = _
private var callbackRegistered: Boolean = true
private var callbackRegistered: Boolean = _
private val builder = new NotificationCompat.Builder(service)
.setWhen(0)