commit | 2e76f6b6098f29fedca1298d5084f06528c75d3e | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Aug 04 11:54:12 2022 +0200 |
committer | Eric Laurent <elaurent@google.com> | Thu Aug 04 11:58:08 2022 +0000 |
tree | 5a3735cbd54968686d158494da15b1afc6301be9 | |
parent | e04531c84ad4ce7af669593a92ba7d1a7e424db9 [diff] |
AudioService: Fix SpatializerHelper asserts Fix state update in onRoutingUpdated() in case of failure to communicate to the native spatializer: this can cause an exception later in setDispatchFeatureEnabledState(). Instead, try to recover by triggering a reset. Fix other places where exceptions are thrown instead of just logging an error or triggering a reset. Bug: 241018866 Test: make Change-Id: I2ca01b76d701e7f5db7ba08d159bba843b145e4e