From 427d222ba7a30640566dab5ba8806a5852ef3731 Mon Sep 17 00:00:00 2001 From: Jackal Guo Date: Fri, 4 Jan 2019 15:48:12 +0800 Subject: [PATCH] Add description for android:canRetrieveWindowContent An AccessibilityService would need both capability and flag for retrieving content of all interactive windows. Bug: 122497116 Test: build pass Change-Id: I3483a250a8fb8fef69f33b4e8e170a477e8a5ca0 --- core/res/res/values/attrs.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 91faa5517860f..2ba317738c62c 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -3660,7 +3660,12 @@ the settings for this service. This setting cannot be changed at runtime. --> + active window content. This setting cannot be changed at runtime. +

+ Required to allow setting the {@link android.accessibilityservice + #AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} flag. +

+ -->