commit | 95b7770ad8f600314b1ba03e4684f6feaf6e2b76 | [log] [tgz] |
---|---|---|
author | Krzysztof Kopyściński <kopyscinski@google.com> | Thu Sep 19 07:50:35 2024 +0000 |
committer | Krzysztof Kopyściński <kopyscinski@google.com> | Thu Sep 19 08:16:17 2024 +0000 |
tree | 89f74a40bc3083afe1667b70f87c57eefd837893 | |
parent | 0ca20d2f1a2d5cfea5eaf6aef0eeee90219a0a40 [diff] |
CallAudioRouteController: fix possible null pointer dereference in onAvailableRoutesChanged() If the device was disconnected at the time as onAvailableRoutesChanged() was called, `deviceToAdd` may be NULL. Bug: b/368222213 Test: Manual Change-Id: I30bec44956c8f0790114dbc9672d598c2d1291eb