commit | a50302568731d867467f34681d60a80fe76e52f2 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Mar 13 14:30:13 2020 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Mar 16 13:46:56 2020 -0700 |
tree | abffa16c5f0befc5bc207480976d3bee411d36ad | |
parent | 3bdd15fbb45911fafbbdd1000311c2320e99cdc3 [diff] |
AudioEffect: add isEffectSupportedForDevice() API Add AudioEffect.isEffectSupportedForDevice() @SystemApi for apps to query if an audio effect can be created and attached to a particular device without actually calling the constructor and checking for exceptions. Bug: 150699608 Test: CTS and GTS Tests for audio effects Change-Id: Ia03af6114a5cafdc46d5d0cb8130fc0165ca93ac