commit | 3424bea3174ba9adc0aa992943c3da6ddfecba8e | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Mon Nov 12 15:55:50 2018 -0800 |
committer | Chienyuan Huang <chienyuanhuang@google.com> | Fri Feb 15 08:08:57 2019 +0000 |
tree | 5cc3a950902e1fb47a1bdb0996263404d1d6a691 | |
parent | afa277116433fbaef3f29efc533b80bdffb6acb4 [diff] |
DO NOT MERGE 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 Bug: 124235726 Test: unit