Commit b0180fb9 authored by Mygod's avatar Mygod

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

parent ecfbc3e1
...@@ -26,7 +26,7 @@ class ShadowsocksNotification(private val service: BaseService, profileName: Str ...@@ -26,7 +26,7 @@ class ShadowsocksNotification(private val service: BaseService, profileName: Str
} }
} }
private var lockReceiver: BroadcastReceiver = _ private var lockReceiver: BroadcastReceiver = _
private var callbackRegistered: Boolean = true private var callbackRegistered: Boolean = _
private val builder = new NotificationCompat.Builder(service) private val builder = new NotificationCompat.Builder(service)
.setWhen(0) .setWhen(0)
......
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