[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-147.0a1-16.0-2] TB 43349 [android]: Add feedback for successful bootstrap



Title: GitLab

Dan Ballard pushed to branch tor-browser-147.0a1-16.0-2 at The Tor Project / Applications / Tor Browser

Commits:

  • 371573fc
    by clairehurst at 2026-02-09T18:08:52-08:00
    TB 43349 [android]: Add feedback for successful bootstrap
    

2 changed files:

Changes:

  • mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorControllerGV.kt
    ... ... @@ -3,6 +3,7 @@ package org.mozilla.fenix.tor
    3 3
     
    
    4 4
     import android.content.Context
    
    5 5
     import android.util.Log
    
    6
    +import android.widget.Toast
    
    6 7
     import androidx.lifecycle.LifecycleCoroutineScope
    
    7 8
     import mozilla.components.browser.engine.gecko.GeckoEngine
    
    8 9
     import org.mozilla.fenix.ext.components
    
    ... ... @@ -191,6 +192,11 @@ class TorControllerGV(
    191 192
                         runOnceBootstrappedHandlers.remove(it)
    
    192 193
                     }
    
    193 194
                 }
    
    195
    +            Toast.makeText(
    
    196
    +                context,
    
    197
    +                context.getString(org.mozilla.fenix.R.string.connection_assist_bootstrap_succeeded_toast_message),
    
    198
    +                Toast.LENGTH_LONG,
    
    199
    +            ).show()
    
    194 200
             }
    
    195 201
         }
    
    196 202
     
    

  • mobile/android/fenix/app/src/main/res/values/torbrowser_strings.xml
    ... ... @@ -124,6 +124,8 @@
    124 124
         <string name="connection_assist_connect_to_tor_before_opening_links_confirmation">CONNECT</string>
    
    125 125
         <!-- Connection assist. Content Description for back button. Button will start the connection assist process again -->
    
    126 126
         <string name="connection_assist_back_button_content_description_start_again">Start again</string>
    
    127
    +    <!-- Connection assist. Bootstrap succeeded toast message-->
    
    128
    +    <string name="connection_assist_bootstrap_succeeded_toast_message">Connected to Tor</string>
    
    127 129
     
    
    128 130
         <!-- Notification title for closing browser tabs. "%s" will be replaced with the localised application name, such as "Tor Browser". -->
    
    129 131
         <string name="notification_close_tor_browser_tabs">Close %s’s tabs?</string>
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx