bluetooth: Increase target API to 23 (Marshmallow) |
||
Issue descriptionWhen we first introduced the Web Bluetooth API, Marshmallow was very new so we decided to set the min to 21. This way developers that really wanted to use the API could use a chromium build. Now that Marshmallow has 30% market share I think we should revisit that decision. There are two features that we could benefit from if we changed to 23: - Ability to set callback type[1] This is a small optimization that allows underlying hardware to just notify of the first sighting of the device. - Ability to set preferred transport[2]. We've had reports of users unable to use their devices when we connecting with classic[3]. Regarding testing: The test suite will still run on bots: http://crrev.com/2706763002 [1] https://developer.android.com/reference/android/bluetooth/le/ScanSettings.html#CALLBACK_TYPE_FIRST_MATCH [2] https://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#connectGatt(android.content.Context, boolean, android.bluetooth.BluetoothGattCallback, int) [3] Issue 693937
,
Apr 18 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/4f7b9875dd8c2d015a581bbbfb0f7967924d3779 commit 4f7b9875dd8c2d015a581bbbfb0f7967924d3779 Author: ortuno <ortuno@chromium.org> Date: Tue Apr 18 02:42:50 2017 bluetooth: Stop requesting Bluetooth permission in <M devices The underlying code that uses Bluetooth increased the min API in order to support new features. Because of this it no longer makes sense to request the permission in pre-M devices. BUG= 694332 Review-Url: https://codereview.chromium.org/2815633004 Cr-Commit-Position: refs/heads/master@{#465114} [modify] https://crrev.com/4f7b9875dd8c2d015a581bbbfb0f7967924d3779/chrome/android/java/AndroidManifest.xml
,
Apr 21 2017
,
May 10 2017
Done here? Any remaining work?
,
May 10 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Apr 17 2017