Closed
Bug 999300
Opened 11 years ago
Closed 10 years ago
Remove RIL V5 legacy support
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(tracking-b2g:backlog, firefox41 fixed)
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: vicamo, Assigned: a2882525224)
References
Details
(Whiteboard: [grooming][good first bug][lang=js][mentor-lang=zh][p=1])
Attachments
(2 files, 10 obsolete files)
22.05 KB,
patch
|
a2882525224
:
review+
|
Details | Diff | Splinter Review |
9.50 KB,
patch
|
a2882525224
:
review+
|
Details | Diff | Splinter Review |
RIL v5 has been deprecated for a long time, and its behaviours differ from v6 and following version a lot. There is no supported devices running on gingerbread now and this leaves some lines in ril worker untested. That goes worse when we're having some serious refactoring on ril worker. I think it's about time to remove these legacy lines.
RILv4: 3b1530aef62476248825a2092c9aea800395c3b1, 2.3_r10 <= x <= 2.3.3_r1
RILv5: 4380897c6cdc99486a061b819943e3b290ebcf09, 2.3.3_r1 < x < c0114b3
RILv6: c0114b325877907fcdf7a5baa24e54a752e7e58b, 4.0.1_r1 <= x <= 4.0.4_r2.1,
RILv7: 2bc78d614e349574426d198c37e51ccb7455b5bb, 4.1_r1 <= x < 4.3_r0.9, (emulator-ics)
RILv8: 8a9e02161271505de274db0c3a88087056dd5dfc, 4.3_r0.9 <= x < 4.4_r0.9 (emulator-jb)
RILv9: a18b9d1e1a014290691d63a7f335085dadc83e46, 4.4_r0.9 <= x <= 4.4_r1.2,
RILv10: 2458d8d1e56faae7b00511ceeab19730572c22d9, >= 4.4.1_r1 (emulator-kk)
Reporter | ||
Comment 1•11 years ago
|
||
We had emulator-ics merge 4.2.2 because of CDMA emulation.
Depends on: 869327
Updated•11 years ago
|
blocking-b2g: --- → backlog
Reporter | ||
Updated•11 years ago
|
Whiteboard: [good first bug][lang=js][mentor-lang=zh][p=1]
Updated•10 years ago
|
Whiteboard: [good first bug][lang=js][mentor-lang=zh][p=1] → [grooming][good first bug][lang=js][mentor-lang=zh][p=1]
Updated•10 years ago
|
Assignee: nobody → bhsu
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
Assignee | ||
Comment 2•10 years ago
|
||
Updated•10 years ago
|
Assignee: bhsu → a2882525224
Assignee | ||
Updated•10 years ago
|
Attachment #8602449 -
Attachment description: Bug 999300 - Remvoed the Ril v5 legacy support. r=edgar → Bug 999300 - Remvoed the Ril v5 legacy support
Assignee | ||
Updated•10 years ago
|
Attachment #8602449 -
Flags: review?(echen)
Assignee | ||
Comment 3•10 years ago
|
||
Hi Edgar,
I have removed as much v5 legacy related code as I can. Do you mind reviewing this patch?
Assignee | ||
Updated•10 years ago
|
Attachment #8602449 -
Flags: review?(echen)
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8602449 -
Attachment is obsolete: true
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8606832 -
Attachment is obsolete: true
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8608053 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Attachment #8608667 -
Flags: review?(echen)
Assignee | ||
Updated•10 years ago
|
Attachment #8606833 -
Flags: review?(echen)
Comment 8•10 years ago
|
||
Comment on attachment 8608667 [details] [diff] [review]
Bug 999300 - Part1:Remvoed the Ril v5 legacy support(V3)
Review of attachment 8608667 [details] [diff] [review]:
-----------------------------------------------------------------
Thank for working on this, please see my comments below.
::: dom/system/gonk/ril_worker.js
@@ +5635,5 @@
> newState = GECKO_RADIOSTATE_ENABLED;
> + // We will retrieve radio tech by another request. We leave _isCdma
> + // untouched, and it will be set once we get the radio technology.
> + this._waitingRadioTech = true;
> + this.getVoiceRadioTechnology();
We bail out early in line #5649 if radioState isn't changed. Please just leave this in original place which can prevent unnecessary radio technology querying.
Attachment #8608667 -
Flags: review?(echen)
Comment 9•10 years ago
|
||
Comment on attachment 8606833 [details] [diff] [review]
Bug 999300 - Part2:Update the related testcases
Review of attachment 8606833 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, but you miss removing the v5Legacy in test_ril_worker_icc_SimRecordHelper.js [1].
[1] https://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/tests/test_ril_worker_icc_SimRecordHelper.js#358
Attachment #8606833 -
Flags: review?(echen)
Assignee | ||
Comment 10•10 years ago
|
||
Hi Edgar,
Thanks for your suggestion but I can't fix it immediately because I am traveling abroad. I will deal with it when I come back.
Assignee | ||
Comment 11•10 years ago
|
||
Attachment #8608667 -
Attachment is obsolete: true
Attachment #8617259 -
Flags: review?(echen)
Assignee | ||
Comment 12•10 years ago
|
||
Attachment #8606833 -
Attachment is obsolete: true
Attachment #8617260 -
Flags: review?(echen)
Assignee | ||
Comment 13•10 years ago
|
||
Hi Edgar,
I fixed up the patches. Do you mind reviewing them ?
Comment 14•10 years ago
|
||
Comment on attachment 8617259 [details] [diff] [review]
Bug 999300 - Part1:Remvoed the Ril v5 legacy support(V4)
Review of attachment 8617259 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, but please help to revise the commit message:
- Add space after `Part` and `:`, e.g. "Bug 999300 - Part 1: ....".
- Remove the patch version.
And please remember to add `r=edgar` or `r=echen` after review granted.
Thank you.
Attachment #8617259 -
Flags: review?(echen) → review+
Comment 15•10 years ago
|
||
Comment on attachment 8617260 [details] [diff] [review]
Bug 999300 - Part2:Update the related testcases(V2)
Review of attachment 8617260 [details] [diff] [review]:
-----------------------------------------------------------------
Same as comment #14.
And remember to provide try result [1] before marking checkin-needed, if you need help please just let me know.
Thank you.
[1] https://wiki.mozilla.org/Build:TryServer#How_to_push_to_try
Attachment #8617260 -
Flags: review?(echen) → review+
Assignee | ||
Comment 16•10 years ago
|
||
Revise the commit message
Attachment #8617259 -
Attachment is obsolete: true
Attachment #8617834 -
Flags: review+
Assignee | ||
Comment 17•10 years ago
|
||
Revise the commit message
Attachment #8617834 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Attachment #8617840 -
Flags: review+
Assignee | ||
Comment 18•10 years ago
|
||
Revise the commit message
Attachment #8617840 -
Attachment is obsolete: true
Attachment #8617844 -
Flags: review+
Assignee | ||
Comment 19•10 years ago
|
||
Updated the commit message
Attachment #8617844 -
Attachment is obsolete: true
Attachment #8617849 -
Flags: review+
Assignee | ||
Comment 20•10 years ago
|
||
Updated the commit message
Attachment #8617260 -
Attachment is obsolete: true
Attachment #8617850 -
Flags: review+
Comment 21•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 22•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/ec1e3811e1eb
https://hg.mozilla.org/integration/b2g-inbound/rev/103ddf47f489
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/ec1e3811e1eb
https://hg.mozilla.org/mozilla-central/rev/103ddf47f489
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S14 (12june)
You need to log in
before you can comment on or make changes to this bug.
Description
•