bluetooth: android: requestDevice fails to detect Bluetooth Low Energy availability |
|||||
Issue descriptionChrome Version : 60.0.3077.0 OS: Android 7.1.2 with Pixel Phone What steps will reproduce the problem? 1. Go to https://googlechrome.github.io/samples/web-bluetooth/device-info.html?allDevices=true 2. Click "Get Bluetooth Device Info" button What is the expected result? I should see the bluetooth chooser pop up What happens instead of that? Argh! NotFoundError: Bluetooth Low Energy not available.
,
Apr 24 2017
,
Apr 24 2017
I'll take a look though that patch never landed so I don't think that's it.
,
Apr 25 2017
Sorry. Wrong copy/paste. I meant https://codereview.chromium.org/2808353004/
,
Apr 26 2017
,
Apr 26 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c71286bf4ad5a3a4cf1a031fe100f26664c8a023 commit c71286bf4ad5a3a4cf1a031fe100f26664c8a023 Author: ortuno <ortuno@chromium.org> Date: Wed Apr 26 14:17:55 2017 bluetooth: Use BuildInfo to retrieve the Android version __ANDROID_API__ is the minimum API supported by the NDK we are compiling against, not the API level of the device we are running on. Because we support 16+ we were always returning false. BUG= 714623 Review-Url: https://codereview.chromium.org/2841943003 Cr-Commit-Position: refs/heads/master@{#467319} [modify] https://crrev.com/c71286bf4ad5a3a4cf1a031fe100f26664c8a023/device/bluetooth/bluetooth_adapter_factory.cc
,
Apr 26 2017
,
May 2 2017
Reopening this issue as we are able to repro on chrome:M60(60.0.3087.3)Device:Samsung Galaxy S3 (SGH-I747) / JSS15J.And not reproducible on M60(60.0.3087.3) Device:Sony Xperia Z3 (D5803) / 6.0.1
,
May 2 2017
Thanks for reopening! The behavior on the S3 is expected (if I read it correctly it's running Jelly Bean). Web Bluetooth should only be available in Android M and above. The fact it is not working on the S3 means this is actually working correctly :) Feel free to reopen if the S3 is running M or above. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by fbeaufort@chromium.org
, Apr 24 2017