Closed
Bug 1197711
Opened 10 years ago
Closed 10 years ago
[Bluetooth][Callscreen] BTReceiverIcon icon does not show correctly
Categories
(Firefox OS Graveyard :: Gaia::Bluetooth, defect)
Tracking
(blocking-b2g:2.5+)
RESOLVED
FIXED
| blocking-b2g | 2.5+ |
People
(Reporter: gasolin, Assigned: gasolin)
Details
Attachments
(1 file)
https://github.com/gasolin/gaia/blob/master/apps/callscreen/js/calls_handler.js#L52
Due to API migration, the `getConnectedDevicesByProfile` api is deprecated and have no replacement here.
| Assignee | ||
Comment 1•10 years ago
|
||
BTHelper only provide warning but not have the replacement
https://github.com/mozilla-b2g/gaia/blob/9dfedd7d35da00fa9b08dcffc3ab4f47da54e4f0/shared/js/bluetooth_helper.js#L177-L181
And theres no isscoConnected equivalent `ishfpConnected` api available in Gecko
| Assignee | ||
Comment 2•10 years ago
|
||
Since adapter.getConnectedDevices api is still exist, we could just remove the false alert
https://dxr.mozilla.org/mozilla-central/source/dom/webidl/BluetoothAdapter.webidl?from=BluetoothAdapter.webidl&offset=0#108
| Assignee | ||
Comment 3•10 years ago
|
||
[Blocking Requested - why for this release]: regression of BT APIv2 migration
blocking-b2g: --- → 2.5?
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → gasolin
Comment 4•10 years ago
|
||
| Assignee | ||
Comment 5•10 years ago
|
||
| str | ||
Comment on attachment 8652132 [details] [review]
[gaia] gasolin:issue-1197711 > mozilla-b2g:master
francisco, since the `getConnectedDevicesByProfile` API is only called in callscreen
https://github.com/gasolin/gaia/blob/master/apps/callscreen/js/calls_handler.js#L52
Could you help review if it solve the issue.
The STR:
* pair bluetooth headphone (hfp denotes head phone profile)
* reboot and dial to this device
* see if icon has changed to headphone
Attachment #8652132 -
Flags: review?(fjordano)
Comment 6•10 years ago
|
||
Comment on attachment 8652132 [details] [review]
[gaia] gasolin:issue-1197711 > mozilla-b2g:master
Redirecting to Gabriele.
Gabriele, can you find someone to help here?
Attachment #8652132 -
Flags: review?(fjordano) → review?(gsvelto)
Comment 7•10 years ago
|
||
Comment on attachment 8652132 [details] [review]
[gaia] gasolin:issue-1197711 > mozilla-b2g:master
Redirecting the review to :drs since I've got a pretty long review queue right now.
Attachment #8652132 -
Flags: review?(gsvelto) → review?(drs)
Comment 8•10 years ago
|
||
Comment on attachment 8652132 [details] [review]
[gaia] gasolin:issue-1197711 > mozilla-b2g:master
This change also impacts the Music and Settings apps, so we should flag peers of those modules for reviews as well. My guesses for these people would be :justindarc for Music, and :evelyn for Settings. This might be a bit pedantic, but I don't know this code very well. I am reviewing only for the Callscreen.
Please see my comment on the PR.
Attachment #8652132 -
Flags: review?(drs) → review-
Comment 9•10 years ago
|
||
Doug/Fred, Can you please provide a screen shot? Will help in 2.5 triage.
Flags: needinfo?(gasolin)
| Assignee | ||
Comment 10•10 years ago
|
||
Thanks for review. Though the change does not impact Music nor Settings app because they did not call `getConnectedDevicesByProfile` method(with Bluetooth APIv2). Callscreen is the only usecase.
| Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8652132 [details] [review]
[gaia] gasolin:issue-1197711 > mozilla-b2g:master
@evelyn could you help review the bluetooth helper?
also ask @jocelyn's feedback for proper use of BT APIv2
Flags: needinfo?(gasolin)
Attachment #8652132 -
Flags: review?(ehung)
Attachment #8652132 -
Flags: review-
Attachment #8652132 -
Flags: feedback?(joliu)
Comment 12•10 years ago
|
||
Comment on attachment 8652132 [details] [review]
[gaia] gasolin:issue-1197711 > mozilla-b2g:master
Hi Fred,
We didn't revise this API in BT APIv2 development, there should be no difference in the API usage.
Thanks,
Jocelyn
Attachment #8652132 -
Flags: feedback?(joliu)
Comment 13•10 years ago
|
||
Comment on attachment 8652132 [details] [review]
[gaia] gasolin:issue-1197711 > mozilla-b2g:master
Thanks.
Attachment #8652132 -
Flags: review?(ehung) → review+
| Assignee | ||
Comment 14•10 years ago
|
||
Status: NEW → ASSIGNED
| Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•