diff options
author | Eric Laurent <elaurent@google.com> | 2021-03-18 14:02:45 +0100 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2021-03-18 15:57:33 +0000 |
commit | f7aa87de0dab49d5769544cf41e9fac17ed8a428 (patch) | |
tree | ba3679f04c50dde5c3294973980f3894e0069aaf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 82c923af4bd92fef7de6743d57d572804583bfb1 (diff) |
AudioDeviceBroker: fix dispatchCommunicationDevice()
Add null check on the device returned by getCommunicationDevice().
This can happen for instance if the native audio policy could not be intialized
properly.
Bug: 182844679
Test: make.
Change-Id: Ie2b79aad9caea958af2071a0c4133121d311506e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions