diff options
author | Chienyuan <chienyuanhuang@google.com> | 2018-12-27 15:50:15 +0800 |
---|---|---|
committer | Chienyuan <chienyuanhuang@google.com> | 2018-12-28 10:29:51 +0800 |
commit | c42180619d4371bdf625102b170b0c1d3ce83cf0 (patch) | |
tree | 073a1e4b925a870699f577ee7c5270cf9eb589c2 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 46d40a2b8367b9da8a5216c361f0fded00af3077 (diff) |
Add null check for AclStateChangedHandler
When we receive ACL state change and can't find corresponding
CachedBluetoothDevice, we will trigger onAclConnectStateChanged with
null activeDevice and cause NullPointerException.
Add a null check in AclStateChangedHandler to prevent it.
Bug: 122049350
Test: RunSettingsLibRoboTests
Change-Id: Iaabccc8c4ad60dbae14bbb0f6af655be06bc18ea
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions