AccessibilityAutofill: disable the service above Oreo (#827)

This commit is contained in:
Harsh Shandilya 2020-06-05 23:52:02 +05:30 committed by GitHub
parent 2ab44a4580
commit 448e70704a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 1 deletions

View file

@ -66,6 +66,7 @@
<service <service
android:name=".autofill.AutofillService" android:name=".autofill.AutofillService"
android:enabled="@bool/enable_accessibility_autofill"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter> <intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService" /> <action android:name="android.accessibilityservice.AccessibilityService" />

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="enable_accessibility_autofill">true</bool>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="enable_accessibility_autofill">false</bool>
</resources>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<bool name="leak_canary_allow_in_non_debuggable_build">true</bool> <bool name="leak_canary_allow_in_non_debuggable_build">true</bool>
</resources> </resources>