[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.5-1] fixup! Disable features and functionality



Title: GitLab

ma1 pushed to branch firefox-android-115.2.1-13.5-1 at The Tor Project / Applications / firefox-android

Commits:

  • 6eaa81ce
    by hackademix at 2024-05-15T07:39:36+02:00
    fixup! Disable features and functionality
    
    Bug 42578: Reject Android "open in Tor Browser" intent
    

1 changed file:

Changes:

  • fenix/app/src/main/java/org/mozilla/fenix/home/intent/HomeDeepLinkIntentProcessor.kt
    ... ... @@ -90,6 +90,15 @@ class HomeDeepLinkIntentProcessor(
    90 90
                         logger.info("Not opening deep link: $url")
    
    91 91
                         return
    
    92 92
                     }
    
    93
    +                if (BuildConfig.DEEP_LINK_SCHEME.startsWith("torbrowser")) {
    
    94
    +                    // tor-browser#42578
    
    95
    +                    // TODO:
    
    96
    +                    // Maybe just warn users about linkability but
    
    97
    +                    // give them the choice to open anyway, once
    
    98
    +                    // the other deep link related issues are fixed.
    
    99
    +                    logger.info("Tor Browser rejects open intent deep link: $deepLink")
    
    100
    +                    return
    
    101
    +                }
    
    93 102
     
    
    94 103
                     activity.openToBrowserAndLoad(
    
    95 104
                         url,
    

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