diff options
author | Bhalchandra Gajare <bgajare@google.com> | 2021-03-29 13:01:25 -0700 |
---|---|---|
committer | Bhalchandra Gajare <bgajare@google.com> | 2021-04-09 02:29:42 -0700 |
commit | ab5fedc6825223830ae7f82b5150df92ffc22b8b (patch) | |
tree | bb6521aebddd3544eee3e819be841eca05023b24 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c22aff4e4d4de8fcb95e1544db952aa1bdfd999a (diff) |
AudioAttributes: update setHotwordMode to setHotwordModeEnabled
Update setHotwordMode to setHotwordModeEnabled and set/clear the hotword
mode based on the boolean flag passed to setHotwordModeEnabled. This is
to meet the API requirements. Also update the references to this API.
BUG: 180419637
Test: Able to setHotwordModeEnabled from AGSA application. Confirmed
HAL receives the flag and audioSource correctly in open_input_stream.
Change-Id: Ia01e8b5f3edaeafc9617846efc247635005456a8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions