From e3cae63fc19a431d902fb8ae50eab732e735b2a0 Mon Sep 17 00:00:00 2001 From: Ta-wei Yen Date: Tue, 27 Oct 2015 16:09:09 -0700 Subject: DiatactsActivity title indicate dialpad status, removed excessive "showing item" messages. + DiatactsActivity set its' title to "Phone Dialpad" or just "Phone", so user using Talkback can know the state of the activity when it is launched + SpeedDialFragment and SearchFragment no longer send accessibility events when its' content is changed. + Add AccessibilityDelegate ContentChangedFilter to filter out TYPE_WINDOW_CONTENT_CHANGED event for View. Bug:25190037 Change-Id: If1fa34cc9a5d24dec3fe261da9c071bb5388ec58 --- res/values/strings.xml | 3 ++ src/com/android/dialer/DialtactsActivity.java | 12 ++++--- .../android/dialer/dialpad/DialpadFragment.java | 6 ++-- .../android/dialer/list/ContentChangedFilter.java | 40 ++++++++++++++++++++++ src/com/android/dialer/list/SearchFragment.java | 7 +++- src/com/android/dialer/list/SpeedDialFragment.java | 5 +++ 6 files changed, 64 insertions(+), 9 deletions(-) create mode 100644 src/com/android/dialer/list/ContentChangedFilter.java diff --git a/res/values/strings.xml b/res/values/strings.xml index 4d4fb1e84..fe5f41baa 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -26,6 +26,9 @@ used in the Launcher icon. --> Phone + + + Phone Dialpad