commit | a1de8fab17e9e179dd84af84883e67a98701d307 | [log] [tgz] |
---|---|---|
author | Marcell Kovacs <marcellk@google.com> | Fri Jan 14 09:19:47 2022 -0800 |
committer | Marcell Kovacs <marcellk@google.com> | Thu Oct 20 17:57:00 2022 +0000 |
tree | aaaa96f1dd330787ac16d1a810adac34b14af2d8 | |
parent | 4e5e5626975600499bf954a137596b470c491aa1 [diff] |
Add null-check to audio effects usages The tests are crashing on targets that return null to AudioEffect.queryEffects(). Add null check to avoid this. Test: atest AudioSecurityTest Test: atest EffectBundleTest Bug: 204513162 Change-Id: Ib72034aa005f8958e3adbe68f38db88d192500b9 (cherry picked from commit e4b45c76c559a88d70fad8bb1f72f7a9d614eb87)