Closed
Bug 1126685
Opened 10 years ago
Closed 10 years ago
[UITest] bluetooth does not listen to the right event in v2
Categories
(Firefox OS Graveyard :: Gaia::Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gasolin, Assigned: gasolin)
Details
Attachments
(1 file)
According to
https://github.com/mozilla-B2G/gaia/blob/master/dev_apps/uitest/js/HW/bluetooth.js#L57
The mozBluetooth enable/disable event are replaced to listen 'adapter attribute changed'.
Or do it via enable()/disable().then callback
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → gasolin
Status: NEW → ASSIGNED
Comment 1•10 years ago
|
||
| Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8556360 [details] [review]
[PullReq] gasolin:issue-1126685 to mozilla-b2g:master
The root cause is uidemos app does not listen to the right adapter.attributechange to get proper stat and address.
The btHelper.getAddress can not guarantee it could get address in APIv2 unless we turn it into promise based api.
Since it's not widely used in other gaia app, as discussed, we will not support getAddress in v2.
Attachment #8556360 -
Flags: review?(iliu)
| Assignee | ||
Comment 3•10 years ago
|
||
Test passed on flame.
1. open uidemos>HW>BT, turn on/off, the stat/address shows correctly
2. open settings and uidemos, turn BT on in settings then swipe into uidemos, the stat/address shows correctly
Comment 4•10 years ago
|
||
Comment on attachment 8556360 [details] [review]
[PullReq] gasolin:issue-1126685 to mozilla-b2g:master
r+ with me! Well done.
Attachment #8556360 -
Flags: review?(iliu) → review+
Comment 6•10 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Updated•10 years ago
|
Keywords: checkin-needed
Comment 7•10 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Component: Gaia → Gaia::Bluetooth File Transfer
Keywords: checkin-needed
Comment 8•10 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Updated•10 years ago
|
Keywords: checkin-needed
Comment 9•10 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Comment 11•10 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Updated•10 years ago
|
Keywords: checkin-needed
Comment 12•10 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Comment 13•10 years ago
|
||
merged to master https://github.com/mozilla-b2g/gaia/commit/55f192211656ecbb5a0b908843d02d178c58b1d0
thanks!
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
•