commit | b7b5812147aadb159080f14944b7d93a5002fdb7 | [log] [tgz] |
---|---|---|
author | Chris Thornton <thorntonc@google.com> | Tue Oct 06 16:48:12 2015 -0700 |
committer | Chris Thornton <thorntonc@google.com> | Wed Oct 07 11:33:45 2015 -0700 |
tree | ffb3ab779ad48734b72563bb5a2414660a684d8b | |
parent | 714a61cd586c789b18acfd0567cfea2b4ea170dd [diff] |
Don't call StopRecognition when recognition was aborted. If recognition has been aborted, then the call to the sound trigger device stop recognition has already occurred. The sound trigger helper would then try to stop it again, which generates an error code for a stop without a corresponding start event. BUG=24677430 Change-Id: Ibf5d1da1a8eb06b677e428f047905d15fd5cf21f