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

[tor-commits] [Git][tpo/applications/firefox-android][firefox-android-115.2.1-13.0-1] fixup! Disable features and functionality



Title: GitLab

Dan Ballard pushed to branch firefox-android-115.2.1-13.0-1 at The Tor Project / Applications / firefox-android

Commits:

  • ed46ed61
    by Dan Ballard at 2023-09-28T16:42:56+00:00
    fixup! Disable features and functionality
    
    Bug 42114: Disable Sharing URL from Recent Screen in Private Browsing mode
    

1 changed file:

Changes:

  • fenix/app/src/main/java/org/mozilla/fenix/HomeActivity.kt
    ... ... @@ -560,7 +560,9 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity {
    560 560
         override fun onProvideAssistContent(outContent: AssistContent?) {
    
    561 561
             super.onProvideAssistContent(outContent)
    
    562 562
             val currentTabUrl = components.core.store.state.selectedTab?.content?.url
    
    563
    -        outContent?.webUri = currentTabUrl?.let { Uri.parse(it) }
    
    563
    +        if (components.core.store.state.selectedTab?.content?.private == false) {
    
    564
    +            outContent?.webUri = currentTabUrl?.let { Uri.parse(it) }
    
    565
    +        }
    
    564 566
         }
    
    565 567
     
    
    566 568
         private fun getBookmarkCount(node: BookmarkNode): Int {
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits