Closed Bug 1030042 Opened 10 years ago Closed 10 years ago

[B2G] use notifyDialSuccess(callIndex) for Cdma features

Categories

(Firefox OS Graveyard :: RIL, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S5 (4july)

People

(Reporter: hsinyi, Assigned: hsinyi)

Details

Attachments

(1 file)

This is a follow-up bug for Bug 1013745. We missed cdma cases ...
Attached patch 1030042.patchSplinter Review
Attachment #8445773 - Flags: review?(szchen)
Comment on attachment 8445773 [details] [diff] [review]
1030042.patch

Review of attachment 8445773 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM. Thanks.

::: dom/telephony/gonk/TelephonyService.js
@@ +438,5 @@
>        aTelephonyCallback.notifyDialError(errorMsg);
>        return;
>      }
>  
> +    function onCdmaDialSuccess(response) {

We don't need the whole response object. Simply pass callIndex here is sufficient.
Attachment #8445773 - Flags: review?(szchen) → review+
(In reply to Szu-Yu Chen [:aknow] from comment #2)
> Comment on attachment 8445773 [details] [diff] [review]
> 1030042.patch
> 
> Review of attachment 8445773 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> LGTM. Thanks.
> 
> ::: dom/telephony/gonk/TelephonyService.js
> @@ +438,5 @@
> >        aTelephonyCallback.notifyDialError(errorMsg);
> >        return;
> >      }
> >  
> > +    function onCdmaDialSuccess(response) {
> 
> We don't need the whole response object. Simply pass callIndex here is
> sufficient.

Thanks for the review. Will do this in the final version.
https://hg.mozilla.org/mozilla-central/rev/04b5fcba2af2
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S5 (4july)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: