OSDN Git Service

[Companion] Dont crash if started with bluetooth off
authorEugene Susla <eugenesusla@google.com>
Wed, 28 Jun 2017 17:58:46 +0000 (10:58 -0700)
committerEugene Susla <eugenesusla@google.com>
Wed, 28 Jun 2017 18:01:04 +0000 (11:01 -0700)
commit7a090a11ed00aa492684800de890f4df633409d8
tree32f40c2f24fadb9905abc65ff86cbdf0a906db25
parentf36a995424b629bcd9bb1c0e65b8e572e01d0dfb
[Companion] Dont crash if started with bluetooth off

Bug: 63068644
Test: Turn BT off, and ensure the attached bud doesn't reproduce
Change-Id: I0de5ba6d28d7195dd3ebc7a3af36f057c762de60
packages/CompanionDeviceManager/src/com/android/companiondevicemanager/DeviceDiscoveryService.java
services/companion/java/com/android/server/companion/CompanionDeviceManagerService.java