Merge pull request #2637 from MilosKozak/AdrianLxM-patch-1
fix Java -> Kotlin nullability issue
This commit is contained in:
commit
237d40afe6
|
@ -50,9 +50,9 @@ class DummyService : DaggerService() {
|
|||
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)
|
||||
startForeground(notificationHolder.notificationID, notificationHolder.notification)
|
||||
return Service.START_STICKY
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue