summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-10-06 16:49:41 -0700
committerYorke Lee <yorkelee@google.com>2013-10-06 16:49:41 -0700
commit32faffb75268467768bac14797de444623c97148 (patch)
treea02a618328e04dd6683f3bfb76ca4d432245ae29 /src
parent524bc0b58afabd947cfaa4c13c28fa9660f398da (diff)
Fix accessibility issues with dialpad
Each dialpad key needs to manually have the "focusable" flag set so that hovering and lift-to-type works properly. The edittext containing digits needs to receive focus at least once in order for it to report sendAccessibilityEventTypeViewTextChanged type events. In JB-MR2, the ViewPager would automatically give focus to the dialpad fragment when it was swiped into view, but now we have to manually give it focus ourselves when the dialpad fragment is swiped into view. Bug: 11067558 Change-Id: I56a1891b12d5ec7771a37e1f7c361242ebfe028d
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/dialpad/DialpadFragment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java
index bcf058b02..9ebf1121c 100644
--- a/src/com/android/dialer/dialpad/DialpadFragment.java
+++ b/src/com/android/dialer/dialpad/DialpadFragment.java
@@ -1704,6 +1704,7 @@ public class DialpadFragment extends Fragment
activity.showSearchBar();
} else {
activity.hideSearchBar();
+ mDigits.requestFocus();
}
}