chore: suppress unused parameter warnings

This commit is contained in:
andrekir 2023-06-03 10:01:38 -03:00
parent fc64167f59
commit 883769922d
3 changed files with 7 additions and 7 deletions

View file

@ -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
}