Closed
Bug 946165
Opened 12 years ago
Closed 12 years ago
[B2G] [DSDS] [Fugu] Miss STK menu proactive on fugu
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.3 Sprint 6 - 12/6
People
(Reporter: edgar, Assigned: edgar)
References
Details
Attachments
(2 files, 4 obsolete files)
|
486.63 KB,
text/plain
|
Details | |
|
1.57 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #942096 +++
In bug 942096, we add iccId into 'icc-stkcommand' to support DSDS, and there is a timing between reading iccId and receiving stk menu proactive command from sim card, so we ignore the command if iccId is not ready yet [1]. It works well in unagi device, because unagi will keep generating stk menu proactive command if did not receive response. However, in Fugu the modem will not generate new command, but wait for response if did not receive it.
It seem if iccId is not ready yet, we should cache proactive commands and send then after iccId becomes ready.
[1] Please see bug 942096 comment #2.
[2] Please see bug 935802 comment #1.
| Assignee | ||
Comment 1•12 years ago
|
||
1). Cache stk command if iccId is not ready.
2). When iccId becomes ready, send pending stk command if any.
I have tested this patch in unagi and fugu, both of them are worked well. ie, I can see STK entry in setting and also can browse the menu.
Attachment #8343500 -
Flags: review?(htsai)
Comment on attachment 8343500 [details] [diff] [review]
Patch, v1
Review of attachment 8343500 [details] [diff] [review]:
-----------------------------------------------------------------
Can we do it in ril_worker?
And modify the timing to call reportStkServiceIsRunning?
| Assignee | ||
Comment 3•12 years ago
|
||
(In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #2)
> Comment on attachment 8343500 [details] [diff] [review]
> Patch, v1
>
> Review of attachment 8343500 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Can we do it in ril_worker?
>
> And modify the timing to call reportStkServiceIsRunning?
Hmm, sounds better.
I will try this, thanks your suggestion.
| Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 8343500 [details] [diff] [review]
Patch, v1
Per comment #3, cancel review first.
Attachment #8343500 -
Flags: review?(htsai)
| Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Edgar Chen [:edgar][:echen] from comment #3)
> (In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #2)
> > Comment on attachment 8343500 [details] [diff] [review]
> > Patch, v1
> >
> > Review of attachment 8343500 [details] [diff] [review]:
> > -----------------------------------------------------------------
> >
> > Can we do it in ril_worker?
> >
> > And modify the timing to call reportStkServiceIsRunning?
>
> Hmm, sounds better.
> I will try this, thanks your suggestion.
If we try to fix this by modifying the timing to call reportStkServiceIsRunning(), we need to consider below two cases,
1). cardState is ready, but iccId is not ready.
2). iccId is ready, but cardState is not ready. (ie, pin locked enabled case)
| Assignee | ||
Comment 6•12 years ago
|
||
Another possible fix which is suggested in comment #2.
I have tested this patch, it works well in {unagi|fugu} {with|without} sim pin lock enabled.
Attachment #8343595 -
Flags: feedback?(allstars.chh)
| Assignee | ||
Comment 7•12 years ago
|
||
After discussing with Yoshi, we don't need to wait cardState becomes to 'ready'.
And I have tested unagi and fugu, both of them works well.
Attachment #8343500 -
Attachment is obsolete: true
Attachment #8343595 -
Attachment is obsolete: true
Attachment #8343595 -
Flags: feedback?(allstars.chh)
Attachment #8343640 -
Flags: review?(allstars.chh)
| Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 8343640 [details] [diff] [review]
Patch, v3
Oops, upload wrong patch.
Attachment #8343640 -
Attachment is obsolete: true
Attachment #8343640 -
Flags: review?(allstars.chh)
| Assignee | ||
Comment 9•12 years ago
|
||
Upload correct patch.
Please see comment #7 for details.
Attachment #8343642 -
Flags: review?(allstars.chh)
Attachment #8343642 -
Flags: review?(allstars.chh) → review+
| Assignee | ||
Comment 10•12 years ago
|
||
Rebase only.
Attachment #8343642 -
Attachment is obsolete: true
Attachment #8343651 -
Flags: review+
| Assignee | ||
Comment 11•12 years ago
|
||
Comment 12•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 Sprint 6 - 12/6
You need to log in
before you can comment on or make changes to this bug.
Description
•