mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
chore: suppress unused parameter warnings
This commit is contained in:
parent
fc64167f59
commit
883769922d
3 changed files with 7 additions and 7 deletions
|
|
@ -1,14 +1,12 @@
|
|||
package com.geeksville.mesh.analytics
|
||||
|
||||
import android.content.Context
|
||||
import android.os.Bundle
|
||||
import com.geeksville.mesh.android.AppPrefs
|
||||
import com.geeksville.mesh.android.GeeksvilleApplication
|
||||
import com.geeksville.mesh.android.Logging
|
||||
|
||||
/**
|
||||
* Implement our analytics API using firebase analtics
|
||||
* Implement our analytics API using Firebase Analytics
|
||||
*/
|
||||
@Suppress("UNUSED_PARAMETER")
|
||||
class GoogleAnalytics(context: Context) : AnalyticsProvider, Logging {
|
||||
|
||||
init {
|
||||
|
|
@ -36,7 +34,7 @@ class GoogleAnalytics(context: Context) : AnalyticsProvider, Logging {
|
|||
}
|
||||
|
||||
/**
|
||||
* Send a google analyics screen view event
|
||||
* Send a google analytics screen view event
|
||||
*/
|
||||
override fun sendScreenView(name: String) {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ import androidx.appcompat.app.AppCompatActivity
|
|||
import androidx.core.content.edit
|
||||
import com.geeksville.mesh.analytics.AnalyticsProvider
|
||||
|
||||
@Suppress("UNUSED_PARAMETER")
|
||||
fun isGooglePlayAvailable(context: Context): Boolean = false
|
||||
|
||||
open class GeeksvilleApplication : Application(), Logging {
|
||||
|
|
@ -72,6 +73,7 @@ open class GeeksvilleApplication : Application(), Logging {
|
|||
analytics.setEnabled(value && !isInTestLab) // Never do analytics in the test lab
|
||||
}
|
||||
|
||||
@Suppress("UNUSED_PARAMETER")
|
||||
fun askToRate(activity: AppCompatActivity) {
|
||||
// do nothing
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue