[Android] Register Brave as Android AutofillService for address autofill (#35567)

* [Android] Register Brave as Android AutofillService for address autofill

Re-enables the Android AutofillService that was removed in
https://github.com/brave/brave-core/pull/25759 due to crashes on
split-APK installs. Uses the SplitCompat pattern
(SplitCompatAutofillService base class) so the service works correctly
when installed from the Play Store.

When the user selects Brave as their autofill provider in Android Settings,
Brave can fill saved address profiles into third-party apps and save new
addresses from manually filled forms.

Resolves: https://github.com/brave/brave-browser/issues/41334
This commit is contained in:
Serg
2026-04-16 14:23:41 -04:00
committed by GitHub
parent 48803a3f6b
commit 90fadf6259
14 changed files with 2089 additions and 0 deletions
+13
View File
@@ -180,6 +180,19 @@
android:permission="android.permission.BIND_REMOTEVIEWS"
android:exported="false" />
<service
android:name="org.chromium.chrome.browser.autofill.BraveAutofillService"
android:label="@string/app_name"
android:permission="android.permission.BIND_AUTOFILL_SERVICE"
android:exported="true">
<meta-data
android:name="android.autofill"
android:resource="@xml/autofill_service_configuration" />
<intent-filter>
<action android:name="android.service.autofill.AutofillService" />
</intent-filter>
</service>
<service
android:name="org.chromium.chrome.browser.vpn.wireguard.WireguardService"
android:foregroundServiceType="dataSync"