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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-140.2.0esr-15.0-1] Bug 41197 - [android] Disable autofill



Title: GitLab

brizental pushed to branch tor-browser-140.2.0esr-15.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • b2184806
    by Beatriz Rizental at 2025-08-25T19:17:01+02:00
    Bug 41197 - [android] Disable autofill
    
    Firefox is an Autofill service. From the Android docs:
    
    > An autofill service is an app that makes it easier for users to fil
    > out forms by injecting data into the views of other apps. Autofill
    > services can also retrieve user data from the views in an app and
    > store it for use at a later time. Autofill services are usually
    > provided by apps that manage user data, such as password managers.
    
    Tor Browser is not an autofill service. All of the autofill backend
    is disabled at build time, since it lives in application-services.
    
    This commit disabled the client side of autofill.
    

2 changed files:

Changes:

  • mobile/android/android-components/components/feature/autofill/src/main/java/mozilla/components/feature/autofill/AutofillUseCases.kt
    ... ... @@ -21,7 +21,7 @@ import mozilla.components.support.base.log.logger.Logger
    21 21
     class AutofillUseCases(
    
    22 22
         @VisibleForTesting sdkVersion: Int = Build.VERSION.SDK_INT,
    
    23 23
     ) {
    
    24
    -    private val isAutofillAvailable = sdkVersion >= Build.VERSION_CODES.O
    
    24
    +    private val isAutofillAvailable = false
    
    25 25
         private val logger = Logger("AutofillUseCases")
    
    26 26
     
    
    27 27
         /**
    

  • mobile/android/fenix/app/src/main/AndroidManifest.xml
    ... ... @@ -683,19 +683,6 @@
    683 683
                 android:name=".messaging.NotificationClickedReceiverActivity"
    
    684 684
                 android:exported="false" />
    
    685 685
     
    
    686
    -        <service android:name=".autofill.AutofillService"
    
    687
    -            tools:targetApi="o"
    
    688
    -            android:exported="true"
    
    689
    -            android:label="@string/app_name"
    
    690
    -            android:permission="android.permission.BIND_AUTOFILL_SERVICE">
    
    691
    -            <intent-filter>
    
    692
    -                <action android:name="android.service.autofill.AutofillService"/>
    
    693
    -            </intent-filter>
    
    694
    -            <meta-data
    
    695
    -                android:name="android.autofill"
    
    696
    -                android:resource="@xml/autofill_configuration" />
    
    697
    -        </service>
    
    698
    -
    
    699 686
             <service android:name=".media.MediaSessionService"
    
    700 687
                 android:foregroundServiceType="mediaPlayback"
    
    701 688
                 android:exported="false" />
    

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