Closed
Bug 903257
Opened 11 years ago
Closed 11 years ago
B2G RIL: Have a consistent information for signal and registration status
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: edgar, Assigned: edgar)
References
Details
Attachments
(3 files, 4 obsolete files)
(deleted),
text/x-vhdl
|
Details | |
(deleted),
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #902380 +++
This is an interesting case we found in bug 902380. Device lost voice service but have data service. In this situation, Gaia may get a strange result for signal and voice state, voice service is not registered but has signal information.
08-07 13:50:53.001 I/Gecko ( 404): -*- RILContentHelper: Received message 'RIL:VoiceInfoChanged': {"clientId":0,"data":{"connected":false,"emergencyCallsOnly":true,"roaming":false,"network":null,"cell":null,"type":null,"signalStrength":-101,"relSignalStrength":36,"state":"searching"}}
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #788047 -
Attachment is obsolete: true
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #788785 -
Flags: review?(htsai)
Assignee | ||
Updated•11 years ago
|
Attachment #788786 -
Flags: review?(htsai)
Comment 4•11 years ago
|
||
Comment on attachment 788785 [details] [diff] [review]
Part 1: Have a consistent information for signal and registration status, v2
Review of attachment 788785 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/system/gonk/RadioInterfaceLayer.js
@@ +764,5 @@
> /**
> + * A utility function to compare objects. The srcInfo may contain
> + * 'rilMessageType', should ignore it.
> + */
> + infoChanged: function infoChanged(srcInfo, destInfo) {
Can we rename it isInfoChanged()?
::: dom/system/gonk/ril_worker.js
@@ +1614,1 @@
> },
Do we still need [1]?
[1] http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js#3328
Attachment #788785 -
Flags: review?(htsai)
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #4)
> Comment on attachment 788785 [details] [diff] [review]
> Part 1: Have a consistent information for signal and registration status, v2
>
> Review of attachment 788785 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: dom/system/gonk/RadioInterfaceLayer.js
> @@ +764,5 @@
> > /**
> > + * A utility function to compare objects. The srcInfo may contain
> > + * 'rilMessageType', should ignore it.
> > + */
> > + infoChanged: function infoChanged(srcInfo, destInfo) {
>
> Can we rename it isInfoChanged()?
Yes, isInfoChanged seems more clear to me.
>
> ::: dom/system/gonk/ril_worker.js
> @@ +1614,1 @@
> > },
>
> Do we still need [1]?
>
[1] is redundant, |getSignalStrength()| was called in |requestNetworkInfo()| already. Thanks for catching this.
> [1]
> http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.
> js#3328
I will address above comments in next version.
Comment 6•11 years ago
|
||
Comment on attachment 788786 [details] [diff] [review]
Part 2: Marionette tests for signal when registration status changes, v1
Review of attachment 788786 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you.
Attachment #788786 -
Flags: review?(htsai) → review+
Assignee | ||
Comment 7•11 years ago
|
||
Address review comment #4.
Attachment #788785 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #790050 -
Flags: review?(htsai)
Comment 8•11 years ago
|
||
Comment on attachment 790050 [details] [diff] [review]
Part 1: Have a consistent information for signal and registration status, v3
Review of attachment 790050 [details] [diff] [review]:
-----------------------------------------------------------------
Perfect!
Attachment #790050 -
Flags: review?(htsai) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 790072 [details] [diff] [review]
Part 2: Marionette tests for signal when registration status changes, v1, r=hsinyi
Add bug number in title.
Attachment #790072 -
Attachment description: bug_903257_part2_marionette_tests_for_signal_when_registration_status_changes_v1_r=hsinyi.patch → Part 2: Marionette tests for signal when registration status changes, v1, r=hsinyi
Attachment #790072 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Attachment #788786 -
Attachment is obsolete: true
Assignee | ||
Comment 11•11 years ago
|
||
Assignee | ||
Comment 12•11 years ago
|
||
Rebase
Attachment #790050 -
Attachment is obsolete: true
Attachment #790241 -
Flags: review+
Assignee | ||
Comment 13•11 years ago
|
||
Comment 14•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e39003701964
https://hg.mozilla.org/mozilla-central/rev/d42114d05d10
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Updated•11 years ago
|
blocking-b2g: koi? → ---
Comment 15•11 years ago
|
||
Removing koi? since this is in gecko 26 which will be the basis for Firefox OS 1.2.
You need to log in
before you can comment on or make changes to this bug.
Description
•