Age | Commit message (Collapse) | Author |
|
|
|
Android SDK beyond 29 changed the BluetoothAdapter.setScanMode signature to (Integer, Long). change btBecomeDiscoverable to handle different api level.
|
|
A RPC method is used to check A2DP audio path is enabled or not.
|
|
|
|
|
|
|
|
`btCancelDiscovery` synchronous Rpc.
|
|
E.g. if BT was in the process of turning off when we called `btEnable`,
BT would finish turning off before turning on again, but the `btEnable`
call would timeout before that.
Same situation for `btDisable` and wifi toggles.
|
|
The official story is that only Settings running as system UID can call them.
|
|
* Fixed btUnpairDevice() bug where an exception is thrown even in the success case
|
|
* Add support for pairing/unpairing a device.
* Add support for connecting with A2DP profile.
* Reorganize Bluetooth related snippets for future expansion of profile support.
* Use Bundle instead of JSONObject for BluetoothDevice serialization.
|