Closed Bug 1046068 Opened 10 years ago Closed 10 years ago

[B2G][MMS] The ReadReport Request for Sending MMS is enabled after 1st OOBE or factory reset but in Message Settings UI, it is disabled visually

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.4+, b2g-v1.4 fixed, b2g-v2.0 fixed, b2g-v2.1 fixed)

RESOLVED FIXED
blocking-b2g 1.4+
Tracking Status
b2g-v1.4 --- fixed
b2g-v2.0 --- fixed
b2g-v2.1 --- fixed

People

(Reporter: bevis, Assigned: arthurcc)

Details

Attachments

(1 file)

STR:
1. Flash build with "make reset-gaia"
2. Go to Message Settings, then you will found that |Read reports| is disabled.
3. Send a MMS to other reference device.
4. Reference device will try to send the read report back to the sender.

How to recover:
1. Toggle Read report twice in Message Settings.

Root cause:
1. When implementing Bug 921919, the default value of the pref "dom.mms.requestReadReport" in gecko was set to true.
2. the settings of 'ril.mms.requestReadReport.enabled' won't be set when 1st OOBE.

Short-term solution:
change default value of "dom.mms.requestReadReport" in gecko to false.

Long-term solution:
1. Need Gaia to provide the default value into settings database.
2. always get this setting from Settings database.
[Blocking Requested - why for this release]:
The behavior of Read Report for MMS is wrong if user never change it from Message Settings.
blocking-b2g: --- → 1.4?
After further analysis, I found that 
1. In gecko side (b2g/chrome/content/settings.js), we will try to read the 'ril.mms.requestReadReport.enabled' when OOBE.
2. However, the value of 'ril.mms.requestReadReport.enabled' is undefined in this case, then the value will be set to the default value(true) defined in gecko.
3. Comparing with "ril.sms.requestStatusReport.enabled", gaia provides the default value in gaia/build/config/common-settings.json. Hence there is no such problem for Delivery Report.

Hi Arthur,
Per discussion off-line, I'd like to transfer this bug to you to have default value of 'ril.mms.requestReadReport.enabled' in gaia.

Thanks!
Assignee: btseng → arthur.chen
Component: RIL → Gaia::Settings
EJ, could you help review this simple patch? Thanks.
Attachment #8465930 - Flags: review?(ejchen)
triage result, 1.4+
blocking-b2g: 1.4? → 1.4+
Merged into master: 
https://github.com/mozilla-b2g/gaia/commit/0b626971d4d5334bf3ed615a76d33e735a386dda
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: