diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-07-07 17:02:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 20:32:57 +0530 |
commit | d192ab2d9a6f45fb23e3d3f709c144ce1be3a850 (patch) | |
tree | 7e946de1f3e15db63be9c184d74b49d610c49d09 /app/src/main/res/xml | |
parent | 5d170249cdd0050349f40d3a5852a8ba996663bc (diff) |
Work around Chrome Autofill issue (#921)
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" |