commit | 34084af5670f3aa76639afcad56a198120885e18 | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Mon Nov 12 15:55:50 2018 -0800 |
committer | Hall Liu <hallliu@google.com> | Mon Nov 12 15:55:50 2018 -0800 |
tree | b1be79903739f8d2b066a02628dd0b3a184b7d1c | |
parent | 85e1fde6c8ad981fca8bd80e683a5e33d846ae3d [diff] |
Speculative fix for BT race condition When the BT stack goes down very soon after a device added broadcast is received, we have the potential for a device to stick around in the device manager with no active BT service, leading to repeated failure to connect to said device. This change checks to make sure the service is non null before adding the device. Change-Id: Ibee8ba2c611d750147249ce1c750a8d433ebff5b Fixes: 119123459 Test: unit