From a64b75b8f8a349a0a68f3c22aea0d3a71b2d2e2c Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Tue, 16 May 2023 13:40:21 -0700 Subject: [PATCH] Hide the a11y service enable dialog from non-a11y-tools. This helps prevent non-tool services from enabling other accessibility services. Fix: 282987827 Test: Use a non-tool accessibility service to print the nodes on the screen, observe dialog nodes are missing. Change to a tool-service and repeat; observe nodes are present. Test: Confirm that TalkBack can still use this dialog to enable other services. Change-Id: I75c4101c6554cc503ed45fc24b8eb36d07250226 --- res/layout/enable_accessibility_service_dialog_content.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/res/layout/enable_accessibility_service_dialog_content.xml b/res/layout/enable_accessibility_service_dialog_content.xml index 0286d5799ab..96989bb97bd 100644 --- a/res/layout/enable_accessibility_service_dialog_content.xml +++ b/res/layout/enable_accessibility_service_dialog_content.xml @@ -23,6 +23,7 @@ android:gravity="top">