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
4 changed files with 10 additions and 1 deletions

View File

@@ -66,6 +66,7 @@
<service
android:name=".autofill.AutofillService"
android:enabled="@bool/enable_accessibility_autofill"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<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"?>
<resources>
<bool name="leak_canary_allow_in_non_debuggable_build">true</bool>
<bool name="leak_canary_allow_in_non_debuggable_build">true</bool>
</resources>