Closed Bug 1003739 Opened 10 years ago Closed 10 years ago

[Settings][Bluetooth] Migrate pairing flow from settings to bluetooth app

Categories

(Firefox OS Graveyard :: Gaia::Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.0, b2g-v2.0 fixed)

RESOLVED FIXED
2.0 S1 (9may)
feature-b2g 2.0
Tracking Status
b2g-v2.0 --- fixed

People

(Reporter: iliu, Assigned: iliu)

References

Details

(Whiteboard: [p=1])

Attachments

(1 file)

Since Settings app is refactoring, we propose to migrate Bluetooth pairing process from Settings app to Bluetooth app. It will avoid to launch Settings app while a pairing request is coming each time.
Blocks: 859168
Status: NEW → ASSIGNED
Whiteboard: [p=1]
Target Milestone: --- → 2.0 S1 (9may)
Attached file pull request 18930
Arthur, 

The patch here is same with bug 989742. Then, I add unit tests for all of them. Could you please help to review my pr? Thanks.
Attachment #8420010 - Flags: review?(arthur.chen)
Comment on attachment 8420010 [details] [review]
pull request 18930

Thanks for the patch! The code looks good to me. I've left some comments regarding the tests, please check them.
Attachment #8420010 - Flags: review?(arthur.chen)
Comment on attachment 8420010 [details] [review]
pull request 18930

Arthur, thanks for your reviewing effort with patient. I have update the patch with your suggestion. Please help to review it again. Thanks.
Attachment #8420010 - Flags: review?(arthur.chen)
Comment on attachment 8420010 [details] [review]
pull request 18930

Good work! r=me with a few nits addressed, thanks!
Attachment #8420010 - Flags: review?(arthur.chen) → review+
Revise all of the nits and passed on Travis build. Merge the pr in Gaia/master: f6b80263b97f0e1f7d2edb725d23f5ab24f69ba4.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 1010106
Since worked on this patch, I find out two duplicated module/util 'BluetoothHelper', 'getTruncated'. They should be put in shared folder in the future. 

Follow up bugs:

Bug 1010106 - [Gaia][Bluetooth] Reuse Bluetooth helper in shared folder.
Bug 1010107 - [Gaia][Bluetooth File Transfer][Video] Put the duplicated utils 'getTruncated' in shared folder.
> +cancel=Cancel

As the cancel string was already present in bluetooth.properties, it now occurs twice…
Blocks: 1010646
Ton, good catch on the duplicated string. I create a bug 1010646 for removing it. Thanks.
feature-b2g: --- → 2.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: