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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog, firefox40 fixed)

RESOLVED FIXED
2.2 S11 (1may)
tracking-b2g backlog
Tracking Status
firefox40 --- fixed

People

(Reporter: freesamael, Assigned: freesamael)

References

Details

Attachments

(1 file, 1 obsolete file)

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: nobody → sawang
Blocks: b2g-sms, b2g-mms
[Tracking Requested - why for this release]:
Attachment #8593870 - Flags: review?(btseng)
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 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+
Attachment #8597773 - Attachment description: Map settings "mms.debugging.enabled" to preference → Map settings "mms.debugging.enabled" to preference. r=btseng
Attachment #8597773 - Flags: review+
Attachment #8593870 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S11 (1may)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: