Closed Bug 982163 Opened 11 years ago Closed 10 years ago

Remove SimSettingsHelper.getCardIndexFrom shim in CallHandler.call()

Categories

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

defect
Not set
normal

Tracking

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

RESOLVED FIXED
2.1 S2 (15aug)
blocking-b2g 2.0M+
Tracking Status
b2g-v2.0 --- wontfix
b2g-v2.0M --- fixed
b2g-v2.1 --- fixed
b2g-v2.2 --- fixed

People

(Reporter: drs, Assigned: drs)

References

Details

(Whiteboard: [planned-sprint])

Attachments

(1 file, 1 obsolete file)

To land bug 946866, we had to temporarily load a card index from SimSettingsHelper if it wasn't passed into call(), since the required UI work is fairly massive to support these properly. We should remove it.
Depends on: 946866
Blocks: b2g-dsds-1.4
We have 2 call sites in dialer.js left to remove this. Those are bluetooth actions, we'll need UX input to know what to do in those cases. I haven't looked into bluetooth a lot so I can't properly articulate the question for UX yet.
Depends on: 1022194
Depends on: 1021478
Assignee: nobody → drs+bugzilla
PR: https://github.com/mozilla-b2g/gaia/pull/22428 Carrie, what should we do when a Bluetooth device dials a specific number (not one in the call log), but the user-preferred SIM is set to "always ask"? For now, I chose to ignore the call, but we can change this fairly easily.
Attachment #8466390 - Flags: review?(anthony)
Flags: needinfo?(cawang)
Hi Doug, If it's not from call log, we can display the SIM picker and wait for users take actions. I think this is the quickest solution for the case. Of course, I think we should provide a section in SIM manager to let users choose a SIM for these BT cases, but I'd like to know is it doable in this timeframe and is BT the only special case we need to consider about? Thanks!
Flags: needinfo?(cawang) → needinfo?(dougt)
Flags: needinfo?(dougt)
Flags: needinfo?(drs+bugzilla)
(In reply to Carrie Wang [:carrie] from comment #3) > If it's not from call log, we can display the SIM picker and wait for users > take actions. Ok, that makes sense to me. I'll go ahead and fix up this patch to do that. > I think this is the quickest solution for the case. Of course, I think we > should provide a section in SIM manager to let users choose a SIM for these > BT cases This could be a followup. It would fall under one of the system or settings components, though. Once they add that, we could fairly easily add support for it as well within the dialer. Is this just an idea that you're throwing out, or do you want to go ahead with it? I'm not really convinced on its value. I suggested this as well in bug 1021478 comment 7, but I don't really like it anymore. It seems like it's solving a problem that doesn't exist at this point, and is adding more unnecessary baggage to the UI. > but I'd like to know is it doable in this timeframe There's no real timeframe for this bug. I'm going to stick it in this sprint, though. In the case of the "outgoing BT calls" settings option, we'd need input from the system or settings teams. That should be done in a different bug, though. > and is BT the only special case we need to consider about? Thanks! Yeah, in this case, it's only a BT device dialing a number directly that we need to worry about.
Flags: needinfo?(drs+bugzilla)
Whiteboard: [planned-sprint]
Target Milestone: --- → 2.1 S2 (15aug)
Better patch based on discussion. Updated PR.
Attachment #8466390 - Attachment is obsolete: true
Attachment #8466390 - Flags: review?(anthony)
Attachment #8468146 - Flags: review?(anthony)
Status: NEW → ASSIGNED
Attachment #8468146 - Flags: review?(anthony) → review+
This is demoable by the way :)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(drs+bugzilla)
Resolution: --- → FIXED
Flags: needinfo?(drs+bugzilla)
Blocks: Woodduck
blocking-b2g: --- → 2.0M?
blocking-b2g: 2.0M? → 2.0M+
Blocks: 1104407
See Also: → 1104407
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: