summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/android/view/accessibility/AccessibilityRecord.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/accessibility/AccessibilityRecord.java b/core/java/android/view/accessibility/AccessibilityRecord.java
index c6057ec4d1a7..401cac816ac5 100644
--- a/core/java/android/view/accessibility/AccessibilityRecord.java
+++ b/core/java/android/view/accessibility/AccessibilityRecord.java
@@ -117,7 +117,7 @@ public class AccessibilityRecord {
* @throws IllegalStateException If called from an AccessibilityService.
*/
public void setSource(View source) {
- setSource(source, AccessibilityNodeInfo.UNDEFINED_ITEM_ID);
+ setSource(source, AccessibilityNodeProvider.HOST_VIEW_ID);
}
/**