Merge pull request #2637 from MilosKozak/AdrianLxM-patch-1
fix Java -> Kotlin nullability issue
This commit is contained in:
commit
237d40afe6
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ class DummyService : DaggerService() {
|
||||||
stopForeground(true)
|
stopForeground(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onStartCommand(intent: Intent, flags: Int, startId: Int): Int {
|
override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
|
||||||
super.onStartCommand(intent, flags, startId)
|
super.onStartCommand(intent, flags, startId)
|
||||||
startForeground(notificationHolder.notificationID, notificationHolder.notification)
|
startForeground(notificationHolder.notificationID, notificationHolder.notification)
|
||||||
return Service.START_STICKY
|
return Service.START_STICKY
|
||||||
|
|
Loading…
Reference in a new issue