diff options
| author | Svetoslav Ganov <svetoslavganov@google.com> | 2012-06-01 19:02:32 -0700 |
|---|---|---|
| committer | Svetoslav Ganov <svetoslavganov@google.com> | 2012-06-01 19:02:42 -0700 |
| commit | a90e4512ab81dcd8cdbefdd2ffa0de55fca1caa3 (patch) | |
| tree | 5a3bb8b385c37d751eb9ac346491a2b5556e5f4e /core/java/android/view/View.java | |
| parent | 01827ce9f2d5f4441c7f7b0211d2739824320daf (diff) | |
Calling the correct method when adding accessibility focusables.
1. Since we added explicit accessibility focusable attribute when
adding focusables views that do so should call this method. Some
views were not updated to do so.
bug:6581924
Change-Id: Id64c0b2d76e5269ebf3fbe17203e73b174bdb843
Diffstat (limited to 'core/java/android/view/View.java')
| -rw-r--r-- | core/java/android/view/View.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 9613149f02f9..9f5613eec86f 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -6308,10 +6308,7 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal } } - /** - * @hide - */ - public boolean canTakeAccessibilityFocusFromHover() { + private boolean canTakeAccessibilityFocusFromHover() { if (includeForAccessibility() && isActionableForAccessibility()) { return true; } |
