summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-06-18 21:37:53 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-06-18 21:37:55 +0000
commitb0ff3a6cb37aa45add4b0c5135bd978442fcc441 (patch)
tree621a6f16744ce02e99150ead1d55a443688cef71 /core
parent3c525c15cb14483aa17825ca92d100fba398f1a0 (diff)
parentf45befe6c38626449e87a1f9b9ab65c42bc15ada (diff)
downloadframeworks_base-b0ff3a6cb37aa45add4b0c5135bd978442fcc441.zip
frameworks_base-b0ff3a6cb37aa45add4b0c5135bd978442fcc441.tar.gz
frameworks_base-b0ff3a6cb37aa45add4b0c5135bd978442fcc441.tar.bz2
Merge "Ensure ResolverDrawerLayout is visible to accessibility services" into mnc-dev
Diffstat (limited to 'core')
-rw-r--r--core/java/com/android/internal/widget/ResolverDrawerLayout.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/java/com/android/internal/widget/ResolverDrawerLayout.java b/core/java/com/android/internal/widget/ResolverDrawerLayout.java
index be727f1..585cbc9 100644
--- a/core/java/com/android/internal/widget/ResolverDrawerLayout.java
+++ b/core/java/com/android/internal/widget/ResolverDrawerLayout.java
@@ -127,6 +127,8 @@ public class ResolverDrawerLayout extends ViewGroup {
final ViewConfiguration vc = ViewConfiguration.get(context);
mTouchSlop = vc.getScaledTouchSlop();
mMinFlingVelocity = vc.getScaledMinimumFlingVelocity();
+
+ setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_YES);
}
public void setSmallCollapsed(boolean smallCollapsed) {
@@ -593,11 +595,6 @@ public class ResolverDrawerLayout extends ViewGroup {
}
@Override
- public CharSequence getAccessibilityClassName() {
- return ResolverDrawerLayout.class.getName();
- }
-
- @Override
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
super.onInitializeAccessibilityNodeInfo(info);
if (isEnabled()) {