New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 714623 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

bluetooth: android: requestDevice fails to detect Bluetooth Low Energy availability

Project Member Reported by fbeaufort@chromium.org, Apr 24 2017

Issue description

Chrome 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.
 
Description: Show this description

Comment 3 Deleted

Comment 4 by ortuno@chromium.org, Apr 24 2017

I'll take a look though that patch never landed so I don't think that's it.

Sorry. Wrong copy/paste. I meant https://codereview.chromium.org/2808353004/

Comment 6 by ortuno@chromium.org, Apr 26 2017

Cc: -ortuno@chromium.org
Owner: ortuno@chromium.org
Status: Started (was: Unconfirmed)
Project Member

Comment 7 by bugdroid1@chromium.org, 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

Comment 8 by ortuno@chromium.org, Apr 26 2017

Status: Fixed (was: Started)
Status: Assigned (was: Fixed)
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
Status: Fixed (was: Assigned)
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