summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2022-08-04 11:54:12 +0200
committer Andy Hung <hunga@google.com> 2022-09-08 01:48:51 +0000
commit4b7cd0aa01e0199bd653da902d4732f2e990633b (patch)
treede65858c94bb9b71c43bfac5bc22f7606f8c4a44 /libs/androidfw/ResourceTimer.cpp
parent9c48327f61b12a6ea5299e012d4af6547568d3fa (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 Merged-In: I2ca01b76d701e7f5db7ba08d159bba843b145e4e Change-Id: I2ca01b76d701e7f5db7ba08d159bba843b145e4e (cherry picked from commit 2e76f6b6098f29fedca1298d5084f06528c75d3e)
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions