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


Commits:
60be1522 by clairehurst at 2025-10-14T10:59:30-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,9 @@ 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/60be15223ed63f777d4129b2bbb6566cc550b455

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/60be15223ed63f777d4129b2bbb6566cc550b455
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