Closed
Bug 1108900
Opened 10 years ago
Closed 10 years ago
[B2G][Followup-873351] replace the prefix of gonk-backend services from "ril" to "gonk" in mobile message
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(feature-b2g:2.2+, tracking-b2g:backlog)
RESOLVED
FIXED
2.2 S3 (9jan)
People
(Reporter: bevis, Assigned: bevis)
References
Details
Attachments
(2 files, 2 obsolete files)
20.69 KB,
patch
|
bevis
:
review+
|
Details | Diff | Splinter Review |
6.22 KB,
patch
|
bevis
:
review+
|
Details | Diff | Splinter Review |
This is a followup of bug 873351.
We now have naming convention of Gonk-Backend Services with "Gonk" as the prefix of its contractID but was not followed by mobilemessage which has been created before this convention defined.
File this bug to rename |@mozilla.org/mms/rilmmsservice;1| of MmsService.js and |@mozilla.org/mobilemessage/rilmobilemessagedatabaseservice;1| of MobileMessageDatabaseService.js to |@mozilla.org/mms/gonkmmsservice;1| and |@mozilla.org/mobilemessage/gonkmobilemessagedatabaseservice;1|
Assignee | ||
Updated•10 years ago
|
Summary: [B2G][Followup-873351] replace the prefix of gonk-backend services from "ril" to "gonk" → [B2G][Followup-873351] replace the prefix of gonk-backend services from "ril" to "gonk" in mobile message
Assignee | ||
Comment 1•10 years ago
|
||
MobileMessageDatabaseService.js will be used by SmsService.js after bug 873351 is included.
If SmsService.js will be overridden by vendor, we have to include this fix for v2.2 as well.
Blocks: b2g-ril-interface
blocking-b2g: --- → 2.2?
Assignee | ||
Comment 2•10 years ago
|
||
Hi Edgar,
May I have your review for this change?
Thanks!
Attachment #8534207 -
Flags: review?(echen)
Assignee | ||
Comment 3•10 years ago
|
||
Hi Edgar,
May I have your review for this change?
Thanks!
Attachment #8534210 -
Flags: review?(echen)
Comment 4•10 years ago
|
||
triage: this is follow up feature, so changing flag to feature-b2g.
blocking-b2g: 2.2? → backlog
feature-b2g: --- → 2.2+
Comment 5•10 years ago
|
||
Comment on attachment 8534207 [details] [diff] [review]
Part 1 v1: rename MobileMessageDatabaseService. r=echen
Review of attachment 8534207 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thank you.
Attachment #8534207 -
Flags: review?(echen) → review+
Comment 6•10 years ago
|
||
Comment on attachment 8534210 [details] [diff] [review]
Part 2 v1: rename MmsService. r=echen
Review of attachment 8534210 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with comment addressed. Thank you.
::: dom/mobilemessage/gonk/MmsService.js
@@ +13,5 @@
> Cu.import("resource://gre/modules/PhoneNumberUtils.jsm");
> Cu.import("resource://gre/modules/Promise.jsm");
>
> +const GONK_MMSSERVICE_CONTRACTID = "@mozilla.org/mms/gonkmmsservice;1";
> +const GONK_MMSSERVICE_CID = Components.ID("{217ddd76-75db-4210-955d-8806cd8d87f9}");
Since the contract id is changed, I suggest having an UUID bump for it.
::: dom/mobilemessage/gonk/MmsService.manifest
@@ +1,3 @@
> # MmsService.js
> component {217ddd76-75db-4210-955d-8806cd8d87f9} MmsService.js
> +contract @mozilla.org/mms/gonkmmsservice;1 {217ddd76-75db-4210-955d-8806cd8d87f9}
Ditto
Attachment #8534210 -
Flags: review?(echen) → review+
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Edgar Chen [:edgar][:echen] from comment #6)
> Comment on attachment 8534210 [details] [diff] [review]
> Part 2 v1: rename MmsService. r=echen
>
> Review of attachment 8534210 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> r=me with comment addressed. Thank you.
>
> ::: dom/mobilemessage/gonk/MmsService.js
> @@ +13,5 @@
> > Cu.import("resource://gre/modules/PhoneNumberUtils.jsm");
> > Cu.import("resource://gre/modules/Promise.jsm");
> >
> > +const GONK_MMSSERVICE_CONTRACTID = "@mozilla.org/mms/gonkmmsservice;1";
> > +const GONK_MMSSERVICE_CID = Components.ID("{217ddd76-75db-4210-955d-8806cd8d87f9}");
>
> Since the contract id is changed, I suggest having an UUID bump for it.
>
> ::: dom/mobilemessage/gonk/MmsService.manifest
> @@ +1,3 @@
> > # MmsService.js
> > component {217ddd76-75db-4210-955d-8806cd8d87f9} MmsService.js
> > +contract @mozilla.org/mms/gonkmmsservice;1 {217ddd76-75db-4210-955d-8806cd8d87f9}
>
> Ditto
Opps!
Thank for reminding! I think I missed the change in part 2. :(
Assignee | ||
Comment 8•10 years ago
|
||
Update final patch with positive try server result.
Attachment #8534207 -
Attachment is obsolete: true
Attachment #8539055 -
Flags: review+
Assignee | ||
Comment 9•10 years ago
|
||
Address comment comment 6.
Attachment #8534210 -
Attachment is obsolete: true
Attachment #8539056 -
Flags: review+
Assignee | ||
Comment 10•10 years ago
|
||
Update try server result:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ea1de9f98a39
Keywords: checkin-needed
Comment 11•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/45e6036c278a
https://hg.mozilla.org/integration/b2g-inbound/rev/15894c19ddd6
Keywords: checkin-needed
Updated•10 years ago
|
Status: NEW → ASSIGNED
Comment 12•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/45e6036c278a
https://hg.mozilla.org/mozilla-central/rev/15894c19ddd6
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Updated•10 years ago
|
Target Milestone: --- → 2.2 S3 (9jan)
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•