From 23be199171bedb05e81864f8941492af066fa667 Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Wed, 2 Oct 2013 17:41:15 -0700 Subject: Add importantForAccessibility mode to block entire hierarchy Since older versions of the platform will crash if the mode is set to 3, this CL adds an extra bit and uses 4 as the mode. This will also cleanly default the mode to AUTO on unsupported platforms. BUG: 11031947 Change-Id: I48035abbf35523d65cead6f27be10f8087973ceb --- api/current.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index 2ed9c58..1c1922c 100644 --- a/api/current.txt +++ b/api/current.txt @@ -28337,6 +28337,7 @@ package android.view { field public static final int HAPTIC_FEEDBACK_ENABLED = 268435456; // 0x10000000 field public static final int IMPORTANT_FOR_ACCESSIBILITY_AUTO = 0; // 0x0 field public static final int IMPORTANT_FOR_ACCESSIBILITY_NO = 2; // 0x2 + field public static final int IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS = 4; // 0x4 field public static final int IMPORTANT_FOR_ACCESSIBILITY_YES = 1; // 0x1 field public static final int INVISIBLE = 4; // 0x4 field public static final int KEEP_SCREEN_ON = 67108864; // 0x4000000 -- cgit v1.1