OSDN Git Service

Make prompt for headset while typing a password if accessibilbity is on less verbose.
authorSvetoslav Ganov <svetoslavganov@google.com>
Wed, 5 Oct 2011 00:05:51 +0000 (17:05 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Wed, 5 Oct 2011 00:05:55 +0000 (17:05 -0700)
commitbd39ca701492cb4dccfbe70c7bb76219979326a4
tree53369dd046f68589d97d3c8f9de05a77b4368224
parentb11d09cb66114dd4a3accab903e6f7d9603dfee8
Make prompt for headset while typing a password if accessibilbity is on less verbose.

If accessibility is enabled and there is no headset we do not speak the pressed keys.
In such a case we provide a prompt to the blind user to use a headset. This was announced
on every keypress which is quite annoying. Now this is announced only once.

bug:5342234

Change-Id: Ibe55ad991ad2153d09cde57b030544948fa0d73b
core/java/android/inputmethodservice/KeyboardView.java
core/res/res/values/strings.xml