Closed
Bug 828174
Opened 13 years ago
Closed 13 years ago
[Settings] Track Bluetooth discovery state
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Firefox OS Graveyard
Gaia::Settings
Tracking
(blocking-basecamp:-, b2g18+ fixed)
RESOLVED
FIXED
| blocking-basecamp | - |
People
(Reporter: tzimmermann, Assigned: tzimmermann)
Details
Attachments
(1 file, 1 obsolete file)
|
1.64 KB,
patch
|
jj.evelyn
:
review+
vingtetun
:
approval-gaia-v1+
|
Details | Diff | Splinter Review |
The settings app unconditionally tries to stop Bluetooth discoveries. When no discovery is running, the error message
> I/Gonk ( 110): dbus_func_args_timeout_valist: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
shows up in the logcat.
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → tzimmermann
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #699619 -
Flags: review?(ehung)
Comment 2•13 years ago
|
||
Comment on attachment 699619 [details] [diff] [review]
Track Bluetooth discovery state in Settings app
r=me, we don't need another variable to record bluetooth is in discovering mode. Instead, just simply check if "discoverTimeout" exists. that will be much easier.
Attachment #699619 -
Flags: review?(ehung) → review-
Updated•13 years ago
|
blocking-basecamp: --- → ?
| Assignee | ||
Comment 3•13 years ago
|
||
We now reuse the discoverTimeout variable. We can start a discovery if it's not set, and stop the discovery if it's set.
Attachment #699619 -
Attachment is obsolete: true
Attachment #699833 -
Flags: review?(ehung)
Comment 4•13 years ago
|
||
Comment on attachment 699833 [details] [diff] [review]
[v2] Track Bluetooth discovery state in Settings app
r=me, great work. Thanks!
Attachment #699833 -
Flags: review?(ehung) → review+
Comment 5•13 years ago
|
||
We would take a patch for this.
blocking-basecamp: ? → -
tracking-b2g18:
--- → +
| Assignee | ||
Comment 6•13 years ago
|
||
(In reply to David Scravaglieri [:scravag] from comment #5)
> We would take a patch for this.
What do you mean? :/ A pull request is already pending at
https://github.com/mozilla-b2g/gaia/pull/7444
Comment 7•13 years ago
|
||
It means we need Vivien's approval to land this patch. :p
Comment 8•13 years ago
|
||
Comment on attachment 699833 [details] [diff] [review]
[v2] Track Bluetooth discovery state in Settings app
NOTE: If blocking-basecamp+ is set, just land it for now.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined:
Testing completed:
Risk to taking this patch (and alternatives if risky):
Attachment #699833 -
Flags: approval-gaia-master?(21)
Comment 9•13 years ago
|
||
Comment on attachment 699833 [details] [diff] [review]
[v2] Track Bluetooth discovery state in Settings app
One liner. Let's go with it.
Attachment #699833 -
Flags: approval-gaia-master?(21) → approval-gaia-master+
Comment 10•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
status-b2g18:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•