From d192ab2d9a6f45fb23e3d3f709c144ce1be3a850 Mon Sep 17 00:00:00 2001 From: Fabian Henneke Date: Tue, 7 Jul 2020 17:02:57 +0200 Subject: Work around Chrome Autofill issue (#921) --- app/src/main/res/values-v28/bools.xml | 4 ++++ app/src/main/res/values/bools.xml | 1 + app/src/main/res/values/strings.xml | 12 ++++++++++++ app/src/main/res/xml/oreo_autofill_chrome_compat_fix.xml | 13 +++++++++++++ app/src/main/res/xml/preference.xml | 5 +++++ 5 files changed, 35 insertions(+) create mode 100644 app/src/main/res/values-v28/bools.xml create mode 100644 app/src/main/res/xml/oreo_autofill_chrome_compat_fix.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/values-v28/bools.xml b/app/src/main/res/values-v28/bools.xml new file mode 100644 index 00000000..0ce64e0b --- /dev/null +++ b/app/src/main/res/values-v28/bools.xml @@ -0,0 +1,4 @@ + + + true + diff --git a/app/src/main/res/values/bools.xml b/app/src/main/res/values/bools.xml index fcf624a7..fbcc1c73 100644 --- a/app/src/main/res/values/bools.xml +++ b/app/src/main/res/values/bools.xml @@ -3,4 +3,5 @@ true true true + false diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d62b5292..01b63579 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -275,6 +275,16 @@ Password Store can offer to fill login forms and even save credentials you enter in apps or on websites. To enable this feature, tap OK to go to Autofill settings. There, select Password Store from the list and confirm the confirmation prompt with OK. Autofill support with installed browsers: + Make Autofill more reliable in Chrome + This accessibility service makes + Autofill work more reliably in Chrome. It can only be activated if you are already using + Password Store as your Autofill service.\n\nThis service is only active while you are + using Chrome. It does not access any data or take any actions on your behalf, but forces + Chrome to properly forward user interactions to the Password Store Autofill + service.\n\nChrome\'s performance should not be noticeably affected. If you are experiencing + any problems with this service, please create an issue at + https://msfjarvis.dev/aps. + Autofills password fields in apps. Only works for Android versions 4.3 and up. Does not rely on the clipboard for Android versions 5.0 and up. @@ -388,4 +398,6 @@ Add OTP Successfully imported TOTP configuration Failed to import TOTP configuration + Improve reliability in Chrome + Requires activating an accessibility service and may affect overall Chrome performance 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 @@ + + 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" /> +