commit | f7aa87de0dab49d5769544cf41e9fac17ed8a428 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Mar 18 14:02:45 2021 +0100 |
committer | Eric Laurent <elaurent@google.com> | Thu Mar 18 15:57:33 2021 +0000 |
tree | ba3679f04c50dde5c3294973980f3894e0069aaf | |
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