Dan Ballard pushed to branch tor-browser-140.4.0esr-15.0-1 at The Tor Project / 
Applications / Tor Browser


Commits:
3e6266f7 by clairehurst at 2025-10-14T11:22:39-06:00
fixup! TB 44031 [android]: 2025 YEC

Fix BuildConfig import

- - - - -


1 changed file:

- 
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorCampaignViewModel.kt


Changes:

=====================================
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorCampaignViewModel.kt
=====================================
@@ -1,12 +1,12 @@
 package org.mozilla.fenix.tor
 
+import android.util.Log
 import androidx.compose.runtime.MutableState
 import androidx.compose.runtime.mutableStateOf
 import androidx.lifecycle.ViewModel
 import java.text.SimpleDateFormat
 import java.util.Date
 import kotlin.getValue
-import org.mozilla.geckoview.BuildConfig
 
 class TorCampaignViewModel : ViewModel() {
     val shouldInitiallyShowPromo: MutableState<Boolean> by lazy {
@@ -26,7 +26,8 @@ class TorCampaignViewModel : ViewModel() {
         if (currentDate.before(startDate) || currentDate.after(endDate)) {
             return false
         }
-        if (BuildConfig.BUILD_TYPE == "release") {
+        Log.d("TorCampaignViewModel", 
"org.mozilla.fenix.BuildConfig.BUILD_TYPE = 
${org.mozilla.fenix.BuildConfig.BUILD_TYPE}")
+        if (org.mozilla.fenix.BuildConfig.BUILD_TYPE == "release") {
             return true
         }
         return false



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/3e6266f700acda29d6f80cc0d922a27714198f92

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/3e6266f700acda29d6f80cc0d922a27714198f92
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to