Disable deprecation warning in PersistentNotificationPlugin.kt

This commit is contained in:
Milos Kozak 2021-02-19 11:43:39 +01:00
parent 6f75e119d9
commit 4e4f1ffc5d

View file

@ -30,7 +30,7 @@ import io.reactivex.disposables.CompositeDisposable
import javax.inject.Inject import javax.inject.Inject
import javax.inject.Singleton import javax.inject.Singleton
@Suppress("PrivatePropertyName") @Suppress("PrivatePropertyName", "DEPRECATION")
@Singleton @Singleton
class PersistentNotificationPlugin @Inject constructor( class PersistentNotificationPlugin @Inject constructor(
injector: HasAndroidInjector, injector: HasAndroidInjector,
@ -45,8 +45,7 @@ class PersistentNotificationPlugin @Inject constructor(
private val context: Context, private val context: Context,
private val notificationHolder: NotificationHolder, private val notificationHolder: NotificationHolder,
private val dummyServiceHelper: DummyServiceHelper, private val dummyServiceHelper: DummyServiceHelper,
private val iconsProvider: IconsProvider, private val iconsProvider: IconsProvider
private val databaseHelper: DatabaseHelperInterface
) : PluginBase(PluginDescription() ) : PluginBase(PluginDescription()
.mainType(PluginType.GENERAL) .mainType(PluginType.GENERAL)
.neverVisible(true) .neverVisible(true)