Closed Bug 898301 Opened 12 years ago Closed 12 years ago

[STK]STK Menu display problem

Categories

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

ARM
Gonk (Firefox OS)

Tracking

(blocking-b2g:-)

RESOLVED FIXED
1.1 QE5
blocking-b2g -

People

(Reporter: leo.bugzilla.gaia, Assigned: frsela, NeedInfo)

Details

(Whiteboard: [TD-64786][u=commsapps-user c=stk p=0][Sprint 3] QARegressExclude)

Attachments

(3 files)

When the user confirm the popup, the FFOS differ to the android devices. Please refer to the attached video clips. At the end the video clip, the android phone moves the idle screen, but the FFOS devices moves the STK root menu when the popup disappears. I think that the cause of this is that the stksessionend processing differ the android and the FFOS. and I knew that the FFOS process the stksessionend command in settings/icc.js like blow code. I think this is the normal scenario in the FFOS. What do you think about this? icc.onstksessionend = function handleSTKSessionEnd(event) { updateMenu(); }; DESCRIPTION: 1. Insert a new VIVO Sim Card (HLR:18) and turn on the UE. 2. Wait until UE show HRS Activation Menu; 3. Choose the options "Sair" > "Sim" > "OK"; 4. Check the phone behavior. EXPECTED: The phone should to exit the activation menu and return for idle screen. ACTUAL: After to exit the HRS menu activation, the phone is returning to STK menu.
Whiteboard: [TD-64786]
Attached video video clip
Is a worksforme ... :( anyway we can patch it but only if settings app is opened automatically and not by the user. Could be very usefull the LOGCAT traces (with GAIA level enabled - in settings developer menu) to ckeck if STK_TERMINATE command is sent by the card. Could you provide this log traces?
Flags: needinfo?(leo.bugzilla.gaia)
Attached file log file
Flags: needinfo?(leo.bugzilla.gaia)
We cann't find the STK_TERMINATE command in the Log. Please check the attached log and give me your opinion about this issue. thank you for your help. [APP.log] Line 13391: 07-16 14:38:53.639 I/GeckoDump( 153): [system] STK_CMD_DISPLAY_TEXT:{"text":"Para ativar seu Vivo, por favor, va ate a loja mais proxima ou ligue *8955 desse aparelho","userClear":true} Line 13531: 07-16 14:39:03.319 I/GeckoDump( 153): [system] STK_CMD_DISPLAY_TEXT callback for {"commandNumber":1,"typeOfCommand":33,"commandQualifier":128,"options":{"text":"Para ativar seu Vivo, por favor, va ate a loja mais proxima ou ligue *8955 desse aparelho","userClear":true}} Line 13533: 07-16 14:39:03.319 I/GeckoDump( 153): [system] Alert closed Line 13535: 07-16 14:39:03.319 I/GeckoDump( 153): [system] sendStkResponse to command: {"commandNumber":1,"typeOfCommand":33,"commandQualifier":128,"options":{"text":"Para ativar seu Vivo, por favor, va ate a loja mais proxima ou ligue *8955 desse aparelho","userClear":true}} Line 13537: 07-16 14:39:03.319 I/GeckoDump( 153): [system] sendStkResponse -- # response = {"resultCode":0} Line 13553: 07-16 14:39:03.539 I/GeckoDump( 153): [system] STK Proactive Command:{"commandNumber":1,"typeOfCommand":19,"commandQualifier":0,"options":{}} Line 13555: 07-16 14:39:03.549 I/GeckoDump( 153): [system] STK_CMD_SEND_SMS:{} Line 13557: 07-16 14:39:03.549 I/GeckoDump( 153): [system] sendStkResponse to command: {"commandNumber":1,"typeOfCommand":19,"commandQualifier":0,"options":{}} Line 13559: 07-16 14:39:03.549 I/GeckoDump( 153): [system] sendStkResponse -- # response = {"resultCode":0} [RIL.log] Line 1335: 07-16 14:38:53.579 D/RIL_QC_B2G( 153): [UNSL]< UNSOL_STK_PROACTIVE_COMMAND {D0658103012180820281020D5AF4506172612061746976617220736575205669766F2C20706F72206661766F722C207661206174652061206C6F6A61206D6169732070726F78696D61206F75206C69677565202A383935352064657373652061706172656C686F} Line 1343: 07-16 14:39:03.339 D/RIL_QC_B2G( 153): [0218]> STK_SEND_TERMINAL_RESPONSE 810301218002028281830100 Line 1345: 07-16 14:39:03.349 D/RIL_QC_B2G( 153): [0218]< STK_SEND_TERMINAL_RESPONSE Line 1347: 07-16 14:39:03.509 D/RIL_QC_B2G( 153): [UNSL]< UNSOL_STK_EVENT_NOTIFY {D03681030113008202818305000607915510100122128B2001010481987500F617C00123C10400000005CB0C810301218002028281830100} Line 1351: 07-16 14:39:06.259 D/RIL_QC_B2G( 153): [UNSL]< UNSOL_STK_SESSION_END
Flags: needinfo?(frsela)
Whiteboard: [TD-64786] → [TD-64786][u=commsapps-user c=stk p=0][Sprint 2]
blocking-b2g: --- → leo+
Based on the provided log, the unique commands received in GAIA are: 07-16 14:33:29.409 I/GeckoDump( 153): [system] STK Proactive Command:{"commandNumber":1,"typeOfCommand":37,"commandQualifier":0,"options":{"title":"VIVO Chip","items":[{"identifier":3,"text":"Promocoes e Pacotes","nai":""},{"identifier":6,"text":"Mensagens","nai":""},{"identifier":9,"text":"Meu Vivo","nai":""},{"identifier":12,"text":"Redes Sociais","nai":""},{"identifier":15,"text":"Vivo Agenda","nai":""},{"identifier":19,"text":"Noticias e Info","nai":""},{"identifier":22,"text":"Musicas e Videos","nai":""},{"identifier":25,"text":"Jogos e Aplicativos","nai":""},{"identifier":28,"text":"Interatividades","nai":""},{"identifier":31,"text":"Vivo Conectado","nai":""},{"identifier":33,"text":"Mais Servicos","nai":""},{"identifier":35,"text":"Roaming Mundial","nai":""}],"presentationType":0}} 07-16 14:33:55.299 I/GeckoDump( 153): [system] STK Proactive Command:{"commandNumber":1,"typeOfCommand":19,"commandQualifier":0,"options":{}} 07-16 14:34:05.249 I/GeckoDump( 153): [system] STK Proactive Command:{"commandNumber":1,"typeOfCommand":36,"commandQualifier":0,"options":{"title":"Para ativar seu Vivo, seleccione","items":[{"identifier":1,"text":"DDD 35","nai":""},{"identifier":2,"text":"Outro","nai":""},{"identifier":3,"text":"Sair","nai":""}],"presentationType":0}} 07-16 14:34:09.269 I/GeckoDump( 546): [settings] STK Proactive Command:{"commandNumber":1,"typeOfCommand":36,"commandQualifier":0,"options":{"title":"Para ativar seu Vivo, seleccione","items":[{"identifier":1,"text":"DDD 35","nai":""},{"identifier":2,"text":"Outro","nai":""},{"identifier":3,"text":"Sair","nai":""}],"presentationType":0}} 07-16 14:36:34.069 I/GeckoDump( 153): [system] STK Proactive Command:{"commandNumber":1,"typeOfCommand":19,"commandQualifier":0,"options":{}} 07-16 14:36:37.079 I/GeckoDump( 153): [system] STK Proactive Command:{"commandNumber":1,"typeOfCommand":33,"commandQualifier":1,"options":{"text":"Por favor, aguarde.","isHighPriority":true}} 07-16 14:37:17.279 I/GeckoDump( 153): [system] STK Proactive Command:{"commandNumber":1,"typeOfCommand":36,"commandQualifier":0,"options":{"title":"Voce deseja sair deste menu?","items":[{"identifier":1,"text":"Sim","nai":""},{"identifier":2,"text":"Nao, quero ativar meu Vivo","nai":""}],"presentationType":0}} 07-16 14:37:18.449 I/GeckoDump( 546): [settings] STK Proactive Command:{"commandNumber":1,"typeOfCommand":36,"commandQualifier":0,"options":{"title":"Voce deseja sair deste menu?","items":[{"identifier":1,"text":"Sim","nai":""},{"identifier":2,"text":"Nao, quero ativar meu Vivo","nai":""}],"presentationType":0}} 07-16 14:38:10.439 I/GeckoDump( 153): [system] STK Proactive Command:{"commandNumber":1,"typeOfCommand":19,"commandQualifier":0,"options":{}} 07-16 14:38:13.449 I/GeckoDump( 153): [system] STK Proactive Command:{"commandNumber":1,"typeOfCommand":33,"commandQualifier":1,"options":{"text":"Por favor, aguarde.","isHighPriority":true}} 07-16 14:38:53.639 I/GeckoDump( 153): [system] STK Proactive Command:{"commandNumber":1,"typeOfCommand":33,"commandQualifier":128,"options":{"text":"Para ativar seu Vivo, por favor, va ate a loja mais proxima ou ligue *8955 desse aparelho","userClear":true}} 07-16 14:39:03.539 I/GeckoDump( 153): [system] STK Proactive Command:{"commandNumber":1,"typeOfCommand":19,"commandQualifier":0,"options":{}} None of them represents an end of STK processing so, when we decide to 'close' settings app or STK session?
Flags: needinfo?(frsela) → needinfo?(leo.bugzilla.gaia)
(In reply to Fernando R. Sela [:frsela] from comment #5) > Based on the provided log, the unique commands received in GAIA are: 07-16 > 14:33:29.409 I/GeckoDump( 153): [system] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":37,"commandQualifier":0,"options": > {"title":"VIVO Chip","items":[{"identifier":3,"text":"Promocoes e > Pacotes","nai":""},{"identifier":6,"text":"Mensagens","nai":""}, > {"identifier":9,"text":"Meu Vivo","nai":""},{"identifier":12,"text":"Redes > Sociais","nai":""},{"identifier":15,"text":"Vivo > Agenda","nai":""},{"identifier":19,"text":"Noticias e > Info","nai":""},{"identifier":22,"text":"Musicas e > Videos","nai":""},{"identifier":25,"text":"Jogos e > Aplicativos","nai":""},{"identifier":28,"text":"Interatividades","nai":""}, > {"identifier":31,"text":"Vivo > Conectado","nai":""},{"identifier":33,"text":"Mais > Servicos","nai":""},{"identifier":35,"text":"Roaming > Mundial","nai":""}],"presentationType":0}} 07-16 14:33:55.299 I/GeckoDump( > 153): [system] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":19,"commandQualifier":0,"options": > {}} 07-16 14:34:05.249 I/GeckoDump( 153): [system] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":36,"commandQualifier":0,"options": > {"title":"Para ativar seu Vivo, > seleccione","items":[{"identifier":1,"text":"DDD > 35","nai":""},{"identifier":2,"text":"Outro","nai":""},{"identifier":3, > "text":"Sair","nai":""}],"presentationType":0}} 07-16 14:34:09.269 > I/GeckoDump( 546): [settings] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":36,"commandQualifier":0,"options": > {"title":"Para ativar seu Vivo, > seleccione","items":[{"identifier":1,"text":"DDD > 35","nai":""},{"identifier":2,"text":"Outro","nai":""},{"identifier":3, > "text":"Sair","nai":""}],"presentationType":0}} 07-16 14:36:34.069 > I/GeckoDump( 153): [system] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":19,"commandQualifier":0,"options": > {}} 07-16 14:36:37.079 I/GeckoDump( 153): [system] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":33,"commandQualifier":1,"options": > {"text":"Por favor, aguarde.","isHighPriority":true}} 07-16 14:37:17.279 > I/GeckoDump( 153): [system] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":36,"commandQualifier":0,"options": > {"title":"Voce deseja sair deste > menu?","items":[{"identifier":1,"text":"Sim","nai":""},{"identifier":2, > "text":"Nao, quero ativar meu Vivo","nai":""}],"presentationType":0}} 07-16 > 14:37:18.449 I/GeckoDump( 546): [settings] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":36,"commandQualifier":0,"options": > {"title":"Voce deseja sair deste > menu?","items":[{"identifier":1,"text":"Sim","nai":""},{"identifier":2, > "text":"Nao, quero ativar meu Vivo","nai":""}],"presentationType":0}} 07-16 > 14:38:10.439 I/GeckoDump( 153): [system] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":19,"commandQualifier":0,"options": > {}} 07-16 14:38:13.449 I/GeckoDump( 153): [system] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":33,"commandQualifier":1,"options": > {"text":"Por favor, aguarde.","isHighPriority":true}} 07-16 14:38:53.639 > I/GeckoDump( 153): [system] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":33,"commandQualifier":128, > "options":{"text":"Para ativar seu Vivo, por favor, va ate a loja mais > proxima ou ligue *8955 desse aparelho","userClear":true}} 07-16 14:39:03.539 > I/GeckoDump( 153): [system] STK Proactive > Command:{"commandNumber":1,"typeOfCommand":19,"commandQualifier":0,"options": > {}} None of them represents an end of STK processing so, when we decide to > 'close' settings app or STK session? Because the end command is not in the log. So we think this is the normal scenario. What do you think about this?
Flags: needinfo?(leo.bugzilla.gaia) → needinfo?(frsela)
Yes, could be the normal scenario... but how can I decide when to automatically close the STK menu if no finish info is received from the SIM? I'll modify session end to test if this fixes the issue
Flags: needinfo?(frsela)
Assignee: nobody → frsela
Status: NEW → ASSIGNED
Attachment #787342 - Flags: feedback?
Attachment #787342 - Flags: feedback? → feedback?(leo.bugzilla.gaia)
(In reply to Fernando R. Sela (no CC, needinfo please) [:frsela] from comment #8) > Created attachment 787342 [details] STK on session end move to Settings main > menu This scenario still occurs when the attached code is applied. In the log the session end command does not comming from the card. So we think this is the normal scenario.
Flags: needinfo?(frsela)
We checked the log again and the session end command come from the card. But Is a normal scenario that the stk application is terminated when comming the session end command? We think that the stk main menu is displayed is also a normal scenario like current structure. Please give me your opinion about the stk application is terminated or the stk main menu is displayed in the FFOS.
QA, Please test per comment 10 and post the results.
Keywords: qawanted
(In reply to Leo from comment #10) > We checked the log again and the session end command come from the card. > But Is a normal scenario that the stk application is terminated when comming > the session end command? We think that the stk main menu is displayed is > also a normal scenario like current structure. > Please give me your opinion about the stk application is terminated or the > stk main menu is displayed in the FFOS. I think current patch is a better behaviour since if we receive STK terminate message we now close STK menu instead going to the main one. Anyway this is a personal opinion and I think UX team should answer this. Also, what's the behaviour into another phones? (android, legacy ones, ...)
Flags: needinfo?(frsela)
Attachment #787342 - Flags: review?(timdream)
Whiteboard: [TD-64786][u=commsapps-user c=stk p=0][Sprint 2] → [TD-64786][u=commsapps-user c=stk p=0][Sprint 2] QARegressExclude
Whiteboard: [TD-64786][u=commsapps-user c=stk p=0][Sprint 2] QARegressExclude → [TD-64786][u=commsapps-user c=stk p=0][Sprint 3] QARegressExclude
Leo has moved onto final builds, so it's not clear that this is still leo+
blocking-b2g: leo+ → leo?
Flags: needinfo?(leo.bugzilla.gaia)
- ing the bug. No issue from Leo if the bug is needed or not
blocking-b2g: leo? → -
Comment on attachment 787342 [details] STK on session end move to Settings main menu r+ the patch if this is indeed what you want.
Attachment #787342 - Flags: review?(timdream) → review+
Thanks Tim. Yes, when STK session finish, now is required to go to root settings menu instead main STK menu ;) Landed: https://github.com/mozilla-b2g/gaia/commit/67a2b2fef3f1f2e352601182526b4abfc96f67a4
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Keywords: qawanted
Attachment #787342 - Flags: feedback?(leo.bugzilla.gaia)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: