OSDN Git Service

Bluetooth: Expose L2CAP API to support OPP 1.2
authorHemant Gupta <hemantg@codeaurora.org>
Fri, 3 Feb 2017 11:08:59 +0000 (16:38 +0530)
committerAjay Panicker <apanicke@google.com>
Tue, 7 Mar 2017 02:30:52 +0000 (02:30 +0000)
commitef3e0dbf003b881ded3dd8993f136fffc2d3b069
tree5d3c0106512cad89c8d31196733700139fbefb8d
parent9324d6513bdc333cc2a05a8f33ba120a322fd566
Bluetooth: Expose L2CAP API to support OPP 1.2

Add changes to expose L2CAP API to create an insecure L2CAP socket
for supporting OPP 1.2.

Test: Connect with Remote OPP Client supporting OPP 1.2 and verify
that connection and transfer happens over L2CAP. Connect with Remote
OPP Client supporting OPP 1.1 and verify that connection and transfer
happens over RFCOMM.

Bug: 33010988
Change-Id: I21ed672afb4ed5d2355ff0a0f9691af220921c1f
core/java/android/bluetooth/BluetoothAdapter.java
core/java/android/bluetooth/BluetoothDevice.java