diff options
author | Alan Viverette <alanv@google.com> | 2015-06-18 21:37:53 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-06-18 21:37:55 +0000 |
commit | b0ff3a6cb37aa45add4b0c5135bd978442fcc441 (patch) | |
tree | 621a6f16744ce02e99150ead1d55a443688cef71 /core | |
parent | 3c525c15cb14483aa17825ca92d100fba398f1a0 (diff) | |
parent | f45befe6c38626449e87a1f9b9ab65c42bc15ada (diff) | |
download | frameworks_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.java | 7 |
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()) { |