diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-03-24 14:03:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 14:03:40 +0100 |
commit | bebe43468330f182ea35e01ace555ce8d0512aeb (patch) | |
tree | 85899eccd985b302183ee1551054ef54bdb0ada5 /app/src/main/res/xml/preference.xml | |
parent | 98e9f6734a00cfb1d8164227b2de07d2aea150d2 (diff) |
Add support for Oreo Autofill (#653)
Adds support for the Autofill feature first available in Android Oreo.
In compatible apps and browsers, login forms are automatically detected and
the user is presented with options to fill or generate credentials. In most apps
and certain browsers, the service will also offer to create new Password Store
entries from credentials entered into login forms.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res/xml/preference.xml')
-rw-r--r-- | app/src/main/res/xml/preference.xml | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml index 1fb8d325..08f23787 100644 --- a/app/src/main/res/xml/preference.xml +++ b/app/src/main/res/xml/preference.xml @@ -1,6 +1,30 @@ <?xml version="1.0" encoding="utf-8"?> <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> + <androidx.preference.PreferenceCategory app:title="@string/pref_autofill_title"> + <androidx.preference.SwitchPreferenceCompat + app:defaultValue="true" + app:key="autofill_enable" + app:title="@string/pref_autofill_enable_title"/> + <androidx.preference.Preference + app:key="autofill_apps" + app:title="@string/pref_autofill_apps_title"/> + <androidx.preference.CheckBoxPreference + app:defaultValue="true" + app:key="autofill_default" + app:summary="@string/pref_autofill_default_hint" + app:title="@string/pref_autofill_default_title"/> + <androidx.preference.CheckBoxPreference + app:defaultValue="false" + app:key="autofill_always" + app:title="@string/pref_autofill_always_title"/> + <androidx.preference.CheckBoxPreference + app:defaultValue="false" + app:key="autofill_full_path" + app:summary="@string/pref_autofill_full_path_hint" + app:title="@string/pref_autofill_full_path_title"/> + </androidx.preference.PreferenceCategory> + <androidx.preference.PreferenceCategory app:title="@string/pref_git_title"> <androidx.preference.Preference app:key="git_server_info" @@ -134,30 +158,6 @@ app:summary="@string/biometric_auth_summary" /> </androidx.preference.PreferenceCategory> - <androidx.preference.PreferenceCategory app:title="@string/pref_autofill_title"> - <androidx.preference.SwitchPreferenceCompat - app:defaultValue="true" - app:key="autofill_enable" - app:title="@string/pref_autofill_enable_title"/> - <androidx.preference.Preference - app:key="autofill_apps" - app:title="@string/pref_autofill_apps_title"/> - <androidx.preference.CheckBoxPreference - app:defaultValue="true" - app:key="autofill_default" - app:summary="@string/pref_autofill_default_hint" - app:title="@string/pref_autofill_default_title"/> - <androidx.preference.CheckBoxPreference - app:defaultValue="false" - app:key="autofill_always" - app:title="@string/pref_autofill_always_title"/> - <androidx.preference.CheckBoxPreference - app:defaultValue="false" - app:key="autofill_full_path" - app:summary="@string/pref_autofill_full_path_hint" - app:title="@string/pref_autofill_full_path_title"/> - </androidx.preference.PreferenceCategory> - <androidx.preference.PreferenceCategory app:title="@string/pref_misc_title"> <androidx.preference.Preference app:key="export_passwords" |