forked from upstream-mirrors/quik
Fix launch crash on pre-marshmallow devices
This commit is contained in:
@@ -20,6 +20,7 @@ package com.moez.QKSMS.injection
|
||||
|
||||
import com.moez.QKSMS.common.QKApplication
|
||||
import com.moez.QKSMS.common.QkDialog
|
||||
import com.moez.QKSMS.common.util.QkChooserTargetService
|
||||
import com.moez.QKSMS.common.widget.AvatarView
|
||||
import com.moez.QKSMS.common.widget.PagerTitleView
|
||||
import com.moez.QKSMS.common.widget.PreferenceView
|
||||
@@ -67,6 +68,11 @@ interface AppComponent {
|
||||
|
||||
fun inject(service: WidgetAdapter)
|
||||
|
||||
/**
|
||||
* This can't use AndroidInjection, or else it will crash on pre-marshmallow devices
|
||||
*/
|
||||
fun inject(service: QkChooserTargetService)
|
||||
|
||||
fun inject(view: AvatarView)
|
||||
fun inject(view: DetailedChipView)
|
||||
fun inject(view: PagerTitleView)
|
||||
|
||||
Reference in New Issue
Block a user