commit | c5f69571efb2537b8fc312ce4ef9e93c39f19b71 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Tue Sep 14 10:46:55 2021 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Tue Sep 14 13:11:58 2021 -0700 |
tree | 6c4dfa3f1d19ea442510864bda2c3e717ad5af8a | |
parent | a12a816a911be799c3f12ffc528cc46faf886c59 [diff] |
AudioManager.getSpatializer() never returns null Spatializer instance returned by AudioManager.getSpatializer() is never null. Instead of having this getter return null when the device doesn't support spatialization, the user can query the instance for it's level of support for the feature. The level of support is independent of the state of the spatializer. Bug: 191404931 Test: atest SpatializerTest Change-Id: Id08670749b4d34230313d2cd829aa5ba414dae21