diff options
Diffstat (limited to 'app/src/main/res/xml')
| -rw-r--r-- | app/src/main/res/xml/oreo_autofill_chrome_compat_fix.xml | 13 | ||||
| -rw-r--r-- | app/src/main/res/xml/preference.xml | 5 |
2 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/res/xml/oreo_autofill_chrome_compat_fix.xml b/app/src/main/res/xml/oreo_autofill_chrome_compat_fix.xml new file mode 100644 index 00000000..196c93d5 --- /dev/null +++ b/app/src/main/res/xml/oreo_autofill_chrome_compat_fix.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?><!-- + ~ Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved. + ~ SPDX-License-Identifier: GPL-3.0-only + --> +<accessibility-service xmlns:android="http://schemas.android.com/apk/res/android" + android:accessibilityEventTypes="typeWindowContentChanged|typeAnnouncement|typeWindowStateChanged" + android:accessibilityFeedbackType="feedbackGeneric" + android:accessibilityFlags="flagDefault" + android:canRetrieveWindowContent="true" + android:description="@string/oreo_autofill_chrome_compat_fix_description" + android:notificationTimeout="100" + android:packageNames="com.android.chrome,com.chrome.beta,com.chrome.dev,com.chrome.canary" + android:summary="@string/oreo_autofill_chrome_compat_fix_summary" /> diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml index 0d71d6cc..d4ec4139 100644 --- a/app/src/main/res/xml/preference.xml +++ b/app/src/main/res/xml/preference.xml @@ -10,6 +10,11 @@ app:defaultValue="true" app:key="autofill_enable" app:title="@string/pref_autofill_enable_title" /> + <SwitchPreferenceCompat + app:defaultValue="true" + app:key="oreo_autofill_chrome_compat_fix" + app:summary="@string/oreo_autofill_chrome_compat_fix_preference_summary" + app:title="@string/oreo_autofill_chrome_compat_fix_preference_title" /> <ListPreference app:defaultValue="file" app:entries="@array/oreo_autofill_directory_structure_entries" |
