Skip to content
Snippets Groups Projects
Commit d3fdc6ec authored by Shunkai Yao's avatar Shunkai Yao
Browse files

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
parent c196a64c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment