On LineageOS how to set with `adb` the *Preferred service for passwords, passkeys & autofill* to a given app?
Jan 25, 3:10pm

To set the Preferred service for passwords, passkeys & autofill to a specific app on LineageOS (or any Android-based system) using ADB, you can use the following command:

bash
adb shell cmd autofill set_service <package_name_of_your_app>

Replace <package_name_of_your_app> with the actual package name of the app you want to set as the default (e.g., com.example.passwordmanager).

This command directly sets the autofill service preference via ADB, which is useful for automation or when UI access is limited. If you need to find the package name of your app, you can use:

bash
adb shell pm list packages | grep -i "password"

This will list all installed packages related to password managers, helping you identify the correct package name to use in the set_service command.

If you need further assistance with the exact package name or troubleshooting, let me know!

Jan 25, 3:10pm

This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.