OSDN Git Service

Bluetooth: advertising improvements
authorJakub Pawlowski <jpawlowski@google.com>
Fri, 4 Nov 2016 22:25:57 +0000 (15:25 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 11 Nov 2016 23:28:32 +0000 (23:28 +0000)
commit3d83b0e90bfa0d993c8624fc3032249025d6f269
tree534346d5eb56df12030a5a5625256dd566698270
parentb828b6bf6cbd87d344157abe4a1cb7fcf6a0423c
Bluetooth: advertising improvements

This patch removes isPeripheralModeSupported(), hidden public method
which is always returning true. It also modify the BluetoothLeAdvertiser
to be able to use advertising instance with instance id equal 0.

Bug: 30622771
Bug: 24099160
Change-Id: Id31582621dbe56d5c3a8d4ee5cd296af66a5f026
core/java/android/bluetooth/BluetoothAdapter.java
core/java/android/bluetooth/IBluetooth.aidl
core/java/android/bluetooth/le/BluetoothLeAdvertiser.java