Suppress unused param warnings in generic build

pull/1019/head
Alex Baker 4 years ago
parent 35dd189c05
commit 81947d5f87

@ -3,6 +3,7 @@ package org.tasks.analytics
import timber.log.Timber
import javax.inject.Inject
@Suppress("UNUSED_PARAMETER")
class Firebase @Inject constructor() {
fun reportException(t: Throwable) = Timber.e(t)

@ -4,6 +4,7 @@ import android.app.Activity
import android.content.Context
import org.tasks.analytics.Firebase
@Suppress("UNUSED_PARAMETER")
class BillingClientImpl(context: Context?, inventory: Inventory?, firebase: Firebase?) : BillingClient {
override fun queryPurchases() {}
override fun initiatePurchaseFlow(

@ -1,5 +1,6 @@
package org.tasks.billing
@Suppress("UNUSED_PARAMETER")
class Purchase(json: String?) {
val sku: String?
get() = null

@ -2,6 +2,7 @@ package org.tasks.billing
import javax.inject.Inject
@Suppress("UNUSED_PARAMETER")
class SignatureVerifier @Inject constructor() {
fun verifySignature(purchase: org.tasks.billing.Purchase): Boolean {
return true

@ -6,6 +6,7 @@ import io.reactivex.disposables.Disposable
import io.reactivex.disposables.Disposables
import javax.inject.Inject
@Suppress("UNUSED_PARAMETER")
class PlayServices @Inject constructor() {
val isPlayServicesAvailable: Boolean
get() = false

@ -3,6 +3,7 @@ package org.tasks.location
import org.tasks.data.Place
import javax.inject.Inject
@Suppress("UNUSED_PARAMETER")
class GeofenceApi @Inject constructor() {
fun registerAll() {}
fun update(place: Place?) {}

Loading…
Cancel
Save