tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 65d7022fb490a5c0260b54966dde025889429357
parent d8c6e543ac94a765432f27f0ab91a3244daa151b
Author: Atila Butkovits <abutkovits@mozilla.com>
Date:   Wed,  3 Dec 2025 22:06:55 +0200

Revert "Bug 2002287 - Create a IS_BENCHMARK_BUILD build config, initially for disabling CFRs on Macrobenchmark and Baseline Profile generation context. r=android-reviewers,Roger,nalexander" for causing detekt failures. DONTBUILD

This reverts commit a451f9c725361d06fdeeecf6fe52df1945359588.

Diffstat:
Mmobile/android/fenix/app/build.gradle | 2--
Mmobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt | 2--
2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/mobile/android/fenix/app/build.gradle b/mobile/android/fenix/app/build.gradle @@ -100,7 +100,6 @@ android { ] buildConfigField "String[]", "SUPPORTED_LOCALE_ARRAY", getSupportedLocales() - buildConfigField "boolean", "IS_BENCHMARK_BUILD", "false" } def releaseTemplate = { @@ -185,7 +184,6 @@ android { applicationIdSuffix ".fenix" signingConfig = signingConfigs.debug debuggable false - buildConfigField "boolean", "IS_BENCHMARK_BUILD", "true" } } diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt @@ -85,14 +85,12 @@ private const val AUTOPLAY_USER_SETTING = "AUTOPLAY_USER_SETTING" * @param appContext Reference to application context. * @param packageName Package name of the application. * @param packageManagerCompatHelper Helper for accessing [android.content.pm.PackageManager] methods. - * @param isBenchmarkBuild Boolean that will be true only when the app is built for Baseline Profile or Macrobenchmark. */ @Suppress("LargeClass", "TooManyFunctions") class Settings( private val appContext: Context, private val packageName: String = appContext.packageName, private val packageManagerCompatHelper: PackageManagerCompatHelper = appContext.packageManagerCompatHelper, - private val isBenchmarkBuild: Boolean = BuildConfig.IS_BENCHMARK_BUILD, ) : PreferencesHolder { companion object { const val FENIX_PREFERENCES = "fenix_preferences"