summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTa-wei Yen <twyen@google.com>2015-11-04 18:18:32 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-11-04 18:18:32 +0000
commitd1073ef5f27bea6e19cc69721e95fdc37d2381d5 (patch)
tree046c4f1946c2ec12cdc8763f4663ed3fda66b00f
parent3984dbb864a18bc844abfe8f229657c4787c4b3f (diff)
parentaf875ddb29639a62125f667bd8488ab9f07f11b5 (diff)
Merge "Fix "Cleared text" announcement when placing a call" into ub-contactsdialer-b-dev
-rw-r--r--src/com/android/dialer/DialtactsActivity.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java
index dabe590ad..84100b78f 100644
--- a/src/com/android/dialer/DialtactsActivity.java
+++ b/src/com/android/dialer/DialtactsActivity.java
@@ -782,7 +782,13 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
return;
}
if (clearDialpad) {
+ // Temporarily disable accessibility when we clear the dialpad, since it should be
+ // invisible and should not announce anything.
+ mDialpadFragment.getDigitsWidget().setImportantForAccessibility(
+ View.IMPORTANT_FOR_ACCESSIBILITY_NO);
mDialpadFragment.clearDialpad();
+ mDialpadFragment.getDigitsWidget().setImportantForAccessibility(
+ View.IMPORTANT_FOR_ACCESSIBILITY_AUTO);
}
if (!mIsDialpadShown) {
return;