Closed Bug 1147191 Opened 9 years ago Closed 6 years ago

[DSDS] Removing a sim card doesn't update defaultServiceId settings

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-, feature-b2g:3.0?)

RESOLVED WONTFIX
blocking-b2g -
feature-b2g 3.0?

People

(Reporter: pgravel, Unassigned)

References

Details

(Whiteboard: [caf priority: p2][CR 810240])

Steps to reproduce:
1. DSDS device, camped on both sims, voice/sms/data set to SIM 2
2. Remove 2nd sim with phone still active.
3. wait for phone to recognize SIM 2 is missing
4. Open settings -> SIM Manager, voice/sms/data will *appear* to have to swapped to SIM 1, but trying to make a voice call, send an sms, or data will still be trying to use SIM 2.

Manually checking the settings "ril.[telephony|sms|data].defaultServiceId" shows that the settings haven't actually been modified and still point the previous serviceId.

Since SIM Manager knows only one sim card is now available it also disables the dropdown menus and the user cannot is unable manually resolve this issue.

Only solution is to reboot, since on boot sim_settings_helper.js will override the user settings if only one sim id detected.
Whiteboard: [CR 810240] → [caf priority: p2][CR 810240]
Triage: not blocking, removing SIM but not switching off device is not a normal behavior.
blocking-b2g: 2.2? → -
CAF to follow-up with justification.
Howie, removing sim and inserting a new/old sim is called as hot swapping and works well in a single sim scenario.
Flags: needinfo?(hochang)
qawanted to check if this is regression. Thanks.
Flags: needinfo?(hochang)
Keywords: qawanted
OS: Linux → Gonk (Firefox OS)
Hardware: x86 → ARM
Bhavana,
Can we have QA respond with a regression window? It seems :howie is waiting on that to reconsider this for 2.2.

Tim,
Can you have Arthur or someone else on the Settings team pick this up? CAF is requesting this be fixed for 2.2 and would need this fixed by 6pm PST Friday to be ready for their India-based testing on Sunday.

Thanks!
Mike
Flags: needinfo?(timdream)
Flags: needinfo?(bbajaj)
Brian can you please help prioritize this QAwanted request ?
Flags: needinfo?(bbajaj) → needinfo?(brhuang)
(In reply to howie [:howie] from comment #4)
> qawanted to check if this is regression. Thanks.

It would probably make more sense to actually finds the regression range as well.

Looks like the settings ID should be updated at |apps/settings/js/carrier.js|. Arthur, any possible recent changes that could have cause the breakage?
blocking-b2g: - → 2.2?
Flags: needinfo?(timdream) → needinfo?(arthur.chen)
As far as I know we don't support hot swapping for DSDS devices, so this can't be a regression. We only do the check and update defaultServiceId during starting up.
Flags: needinfo?(arthur.chen)
blocking-b2g: 2.2? → -
feature-b2g: --- → 3.0?
Flags: needinfo?(brhuang)
Keywords: qawanted
Blocks: CAF-v3.0-FL-metabug
No longer blocks: CAF-v2.2-metabug
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.