summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2020-01-13 13:47:31 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2020-01-13 13:47:31 -0800
commit61677938c47ad753bdfebf05be2e94e0b46f0bbc (patch)
treeaee12fa44f27100ae9a9a693051ee8e61e505604 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta4d4f94e21757148153711a2defe21bd45dc3337 (diff)
AudioPolicy: catch exceptions on unregister
Make the synchronous AudioManager.unregisterAudioPolicy() method compatible with situations where the owner of the policy has already stopped / flushed the tracks or recorders associated with the policy by catching the IllegalStateException that could be thrown. Test: atest AudioServiceHostTest#testGetDevicesForAttributes Change-Id: Ic0ae0732b775a10135f6cbdd31d5e3409e550942
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions