Closed Bug 975950 Opened 11 years ago Closed 10 years ago

B2G RIL: [DSDS] Gaia only receives the 'icc-stkcommand' of a certain sim

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 906164

People

(Reporter: edgar, Assigned: edgar)

References

Details

Attachments

(1 file)

STR:
1. Reboot device
2. Check 'icc-stkcommand'.

Expected:
Should receive the 'icc-stkcommand' of both sim.

Actual:
Only Receive the 'icc-stkcommand' of a certain sim.

Occurrence rate
1/15

Build info:
-Device: fugu
-Gaia: 2f521fe27d420de (master)
-Gecko: 170121:31113754db3b (m-c)
In this log, Gaia didn't even receive any 'icc-stkcommand' :(
(In reply to Edgar Chen [:edgar][:echen] from comment #1)
> Created attachment 8380496 [details]
> logcat: Gaia receives no icc-stkcommand
> 
> In this log, Gaia didn't even receive any 'icc-stkcommand' :(

After checking the log, the root cause is an issue of system message [1].
'icc-stkcommand' will lost if it was broadcasted at the time that system app is already running but not registering the handler yet.

======
02-24 14:40:12.240   106   106 I Gecko   : -- SystemMessageInternal 1393224012245 : Got Register from app://system.gaiamobile.org/index.html @ app://system.gaiamobile.org/manifest.webapp

02-24 14:40:12.420   106   106 I Gecko   : -- SystemMessageInternal 1393224012422 : Broadcasting icc-stkcommand {"iccId":"89886920032024224095","command":{"commandNumber":1,"typeOfCommand":37,"commandQualifier":0,"rilMessageType":"stkcommand","options":{"title":"中華電信區","items":[{"identifier":1,"text":"emome理財"},{"identifier":2,"text":"emome加值"}],"presentationType":0},"rilMessageClientId":0}}; extra = undefined

02-24 14:40:12.700   106   106 I Gecko   : -- SystemMessageInternal 1393224012707 : Acquiring a CPU wake lock for page key = q9v6GDJniCG+jqPIgFFE1/iw530=
02-24 14:40:12.700   106   106 I Gecko   : -- SystemMessageInternal 1393224012710 : Returned status of sending message: 0
02-24 14:40:12.710   106   106 I Gecko   : -- SystemMessageInternal 1393224012711 : _getMessageConfigurator for type: icc-stkcommand
02-24 14:40:12.710   106   106 I Gecko   : -- SystemMessageInternal 1393224012712 : @mozilla.org/dom/system-messages/configurator/icc-stkcommand;1is not registered, caching the answer

02-24 14:40:13.240   106   106 I Gecko   : -- SystemMessageManager 1393224013245 : receiveMessage SystemMessageManager:Message for [icc-stkcommand] with manifest = app://system.gaiamobile.org/manifest.webapp and uri = app://system.gaiamobile.org/index.html

02-24 14:40:13.690   106   106 I Gecko   : -- SystemMessageInternal 1393224013694 : received SystemMessageManager:Message:Return:OK icc-stkcommand for app://system.gaiamobile.org/index.html @ app://system.gaiamobile.org/manifest.webapp

02-24 14:40:13.690   106   106 I Gecko   : -- SystemMessageInternal 1393224013695 : received SystemMessageManager:HandleMessagesDone icc-stkcommand with 1 for app://system.gaiamobile.org/index.html @ app://system.gaiamobile.org/manifest.webapp

02-24 14:40:16.830   106   106 I Gecko   : -- SystemMessageManager 1393224016833 : set message handler for [icc-stkcommand] [xpconnect wrapped nsIDOMSystemMessageCallback]
======

[1] Please see bug 906164.
Assignee: nobody → echen
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Blocks: b2g-stk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: