commit | a623a1350d58a0648d6f57829887b04c04ba6782 | [log] [tgz] |
---|---|---|
author | Kohsuke Yatoh <kyatoh@google.com> | Tue Mar 24 20:10:26 2020 -0700 |
committer | Kohsuke Yatoh <kyatoh@google.com> | Mon Mar 30 21:44:46 2020 +0000 |
tree | bac00f33a30c4f426120836cee511de1bef9d881 | |
parent | 0bf91a9596eba0c4ea2217506370f0f21655e740 [diff] |
Allow DEFAULT_INPUT_METHOD to capture audio during RTT call The UID of the current InputMethodService (DEFAULT_INPUT_METHOD) is pushed from AudioService to AudioPolicyService via AudioSystem. Allow capture audio if: - the UID is the current InputMethodService's UID, - AND a RTT call is active, - AND the source is AUDIO_SOURCE_VOICE_RECOGNITION. Bug: 147037345 Test: use voice input with Gboard 9.1.4 during a simulated RTT call. Change-Id: Ib32ec25e962833eddd0320742e177e3c1e0e5c05