commit | 13cb2a29c0b2c0cae408267e5a8d2b6da91106f1 | [log] [tgz] |
---|---|---|
author | Shunkai Yao <yaoshunkai@google.com> | Thu Feb 15 03:15:24 2024 +0000 |
committer | Shunkai Yao <yaoshunkai@google.com> | Mon Mar 04 23:22:43 2024 +0000 |
tree | beff715990568654b05a12ce535d6f97053b9e0d | |
parent | 7aabac2b9caf4c41d6be11260dd924ec5c0150cf [diff] |
Visualizer: validate capture size throw IllegalArgumentException if the size is invalid add check to the default size return from audio hal Bug: 317742497 Test: atest android.media.audio.cts.VisualizerTest Test: manual test with Sound Amplifier Change-Id: I34986011bcd9866f37b8eea083775efd923ab550 Merged-In: I34986011bcd9866f37b8eea083775efd923ab550