commit | 596708b97325185ef369a73686e23c36f1725a3d | [log] [tgz] |
---|---|---|
author | James O'Leary <jamesoleary@google.com> | Wed Jan 30 14:52:21 2019 -0500 |
committer | James O'Leary <jamesoleary@google.com> | Fri Feb 01 02:21:58 2019 -0500 |
tree | 1ebe615275f428168f98b18ad58adab45feed475 | |
parent | fdc39187d3d67b061feadb3d5a304923eefe5e6f [diff] |
Only selected VoiceInteractionService can call methods - Extract current code for checking caller into a private method - Replace occurrences of that code with a call to the private method - Add method call to setTranscription/clearTranscription/setVoiceState Test: Verified Milford can't call setTranscription/clearTranscription when it is no longer the active service. Bug: b/123412646 Change-Id: I2c428c6c65b62f6a83264286df4f44fb5d1c249e