Closed Bug 1033974 Opened 10 years ago Closed 10 years ago

[B2G][GAIA] STK: AP should not send TR for STK_CMD_SEND_SS/STK_CMD_SEND_USSD/STK_CMD_SEND_SMS/STK_CMD_SEND_DTMF.

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect, P1)

ARM
All
defect

Tracking

(blocking-b2g:2.0M+, b2g-v2.0 affected, b2g-v2.0M fixed, b2g-v2.1 affected, b2g-v2.2 fixed)

RESOLVED FIXED
blocking-b2g 2.0M+
Tracking Status
b2g-v2.0 --- affected
b2g-v2.0M --- fixed
b2g-v2.1 --- affected
b2g-v2.2 --- fixed

People

(Reporter: sku, Assigned: frsela)

References

Details

Attachments

(2 files)

Per AOSP design (see [1]), AP does not need to send TR to modem for below four cases. Some modem will be malfunction if we send TR for those types of proactive command. And, re-plug in battery will be the only solution to recover. 1. STK_CMD_SEND_SS 2. STK_CMD_SEND_USSD 3. STK_CMD_SEND_SMS 4. STK_CMD_SEND_DTMF There is an on-line document (see [2]) talking about this too. [1] - https://github.com/android/platform_packages_apps_stk/blob/master/src/com/android/stk/StkAppService.java#L436 [2] - http://www.kandroid.org/online-pdk/guide/stk.html
Hi Jose: Could we have your comment here first? Thanks!! Shawn
Flags: needinfo?(josea.olivera)
blocking-b2g: --- → 2.0M?
Flags: needinfo?(josea.olivera) → needinfo?(ferjmoreno)
Flags: needinfo?(ferjmoreno) → needinfo?(frsela)
(In reply to shawn ku [:sku] from comment #2) > Hi Fernando: > Could you please help check if we can simply remove the TR for > SS/USSD/SMS/DTMF? or We still need to revise related test cases? > > https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/icc_worker. > js#L89 > https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/icc_worker. > js#L109 > https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/icc_worker. > js#L124 Sure! I did a PR: https://github.com/mozilla-b2g/gaia/pull/25525 Is it working well? Can you check it?
Flags: needinfo?(frsela)
Assignee: nobody → frsela
Attached file Proposed patch (deleted) —
Attachment #8511848 - Flags: review?(21)
Attachment #8511848 - Flags: feedback?(sku)
Comment on attachment 8511848 [details] Proposed patch hi Fernando: This PR is exactly the same as I did for partner on 1.3t/1.4. (The patch was provided by diff based due to time pressure) Thanks for your prompt response. Shawn
Attachment #8511848 - Flags: feedback?(sku) → feedback+
Group: woodduck-confidential
OS: Linux → All
Hardware: x86_64 → ARM
blocking-b2g: 2.0M? → 2.0M+
Blocks: Woodduck
Group: woodduck-confidential
Comment on attachment 8511848 [details] Proposed patch Based on comment 5, and the fact that Vivien is out for a bit, I will go ahead and review stamp this for you. To be honest, I don't entirely know this code too well, but since :sku has provided feedback this seems fine. Please make sure this gets into master, I'm not sure why we took this on a partner branch but not master. That should not happen in the future.
Attachment #8511848 - Flags: review?(21) → review+
(In reply to Kevin Grandon :kgrandon from comment #6) > Comment on attachment 8511848 [details] > Proposed patch > > Based on comment 5, and the fact that Vivien is out for a bit, I will go > ahead and review stamp this for you. To be honest, I don't entirely know > this code too well, but since :sku has provided feedback this seems fine. > > Please make sure this gets into master, I'm not sure why we took this on a > partner branch but not master. That should not happen in the future. Ok Kevin. Thank you ! I'll rebase it to land in master.
Hi Kai-Zhen, Could you help to land this patch on 2.0M? Thanks!
Flags: needinfo?(kli)
Merge patch into master or 2.0m get conflicts. Fernando, could you help to rebase the patch? Thanks!
Flags: needinfo?(frsela)
Hi, Yes, I'll merge on 2.0m and master. Thank you (In reply to Kai-Zhen Li [:seinlin] from comment #9) > Merge patch into master or 2.0m get conflicts. > > Fernando, could you help to rebase the patch? Thanks!
Flags: needinfo?(frsela)
Attached file Patch for 2.0m branch (deleted) —
Attachment #8529472 - Flags: review+
Fernando, Thanks!
Blocks: Woodduck_P2
Priority: -- → P1
No longer blocks: Woodduck_P2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: