For #21776 - Remove unused imports

releases_v95.0.0
Gabriel Luong 1 year ago committed by mergify[bot]
parent 76c746b982
commit 5afe393b8f
  1. 1
      app/src/main/java/org/mozilla/fenix/settings/quicksettings/TrackingProtectionView.kt
  2. 2
      buildSrc/src/main/java/Config.kt
  3. 4
      mozilla-detekt-rules/src/main/java/org/mozilla/fenix/detektrules/perf/MozillaRunBlockingCheck.kt

@ -10,7 +10,6 @@ import androidx.annotation.VisibleForTesting
import androidx.core.view.isVisible
import org.mozilla.fenix.R
import org.mozilla.fenix.databinding.QuicksettingsTrackingProtectionBinding
import org.mozilla.fenix.ext.settings
import org.mozilla.fenix.trackingprotection.TrackingProtectionState
import org.mozilla.fenix.utils.Settings

@ -1,6 +1,4 @@
import org.gradle.api.Project
import java.lang.RuntimeException
import java.text.SimpleDateFormat
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter

@ -6,10 +6,6 @@ package org.mozilla.fenix.detektrules.perf
import io.gitlab.arturbosch.detekt.api.*
import org.jetbrains.kotlin.psi.*
import org.jetbrains.kotlin.resolve.BindingContext
import org.jetbrains.kotlin.resolve.calls.callUtil.getCall
import org.jetbrains.kotlin.resolve.calls.callUtil.getCalleeExpressionIfAny
import kotlin.math.exp
private const val VIOLATION_MSG = "Please use `org.mozilla.fenix.perf.runBlockingImplement` instead" +
"because it allows us to monitor the code for performance regressions."

Loading…
Cancel
Save