Closed
Bug 1147305
Opened 10 years ago
Closed 10 years ago
[B2G][SMS][MMS] Map settings "mms.debugging.enabled" to preference and ensure SmsService / MmsService DEBUG flags reflect runtime preference changes.
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(tracking-b2g:backlog, firefox40 fixed)
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: freesamael, Assigned: freesamael)
References
Details
Attachments
(1 file, 1 obsolete file)
5.53 KB,
patch
|
freesamael
:
review+
|
Details | Diff | Splinter Review |
1. Map the preference "mms.debugging.enabled" to a corresponding setting so it can be added to Settings menu later.
2. Update MmsService / SmsService to reflect runtime setting / preference changes.
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8593870 -
Flags: review?(btseng)
Comment 3•10 years ago
|
||
Comment on attachment 8593870 [details] [diff] [review]
Map settings "mms.debugging.enabled" to preference
Review of attachment 8593870 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/mobilemessage/gonk/MmsService.js
@@ +1532,5 @@
> + let debugPref = false;
> + try {
> + DEBUG = debugPref || Services.prefs.getBoolPref(kPrefMmsDebuggingEnabled);
> + } catch (e) {}
> + },
We already have default value set in line#19.
We can simplify this as followed, don't we?
try {
DEBUG = Services.prefs.getBoolPref(kPrefMmsDebuggingEnabled);
} catch (e) {}
Comment 4•10 years ago
|
||
Comment on attachment 8593870 [details] [diff] [review]
Map settings "mms.debugging.enabled" to preference
Review of attachment 8593870 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with the comment addressed.
Thanks!
Attachment #8593870 -
Flags: review?(btseng) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8597773 -
Attachment description: Map settings "mms.debugging.enabled" to preference → Map settings "mms.debugging.enabled" to preference. r=btseng
Attachment #8597773 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Attachment #8593870 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 6•10 years ago
|
||
Keywords: checkin-needed
Comment 7•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S11 (1may)
You need to log in
before you can comment on or make changes to this bug.
Description
•