commit | 7caef40ad0fd1608d6f5ba849617db50d7b7e153 | [log] [tgz] |
---|---|---|
author | Ytai Ben-Tsvi <ytai@google.com> | Tue Jun 09 15:50:20 2020 -0700 |
committer | Ytai Ben-Tsvi <ytai@google.com> | Tue Jun 09 16:05:19 2020 -0700 |
tree | c916d5de35937c8305913d1b0eae6f0040431cbc | |
parent | 4f80e49f3d92cc6faad7181073567d19284252b1 [diff] |
Support null audio format in recognition event The audio format doesn't always make sense in recognition events, for example in a failure or abort event, so we allow it to be null. However since the SoundTrigger.java API doesn't allow that, we inject a default if it is not available. Bug: 157496890 Test: Simulated a device that doesn't support concurrent capture, reproduced the bug, applied the fix, verified. Change-Id: I1e4adf9f3ccdc0f62cb9ca5e8c07df3c40a9d2cd