fix Java -> Kotlin nullability issue
This commit is contained in:
parent
cc53aff3d0
commit
28dd3dedac
1 changed files with 2 additions and 2 deletions
|
@ -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