Closed Bug 1038053 Opened 11 years ago Closed 11 years ago

Resolve stopDiscovery when adapter is not discovering

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S6 (18july)

People

(Reporter: ben.tian, Assigned: ben.tian)

References

Details

(Whiteboard: [webbt-api])

Attachments

(1 file)

Bug 1037291's patch rejects startDiscovery when adapter is already discovering because startDiscovery returns a new discovery handle; but we should resolve stopDiscovery when adapter is not discovering since stopDiscovery returns only void.
Assignee: nobody → btian
Whiteboard: [webbt-api]
Also split startDiscovery and stopDiscovery methods.
Attachment #8455163 - Flags: review?(echou)
Comment on attachment 8455163 [details] [diff] [review] Patch 1 (v1): Resolve stopDiscovery when adapter is not discovering Review of attachment 8455163 [details] [diff] [review]: ----------------------------------------------------------------- LGTM. Thanks!
Attachment #8455163 - Flags: review?(echou) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S6 (18july)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: