Closed
Bug 951030
Opened 11 years ago
Closed 11 years ago
[Airplane mode] airplane mode cannot be turned off after restart
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
1.3 C2/1.4 S2(17jan)
People
(Reporter: pyang, Assigned: aknow)
Details
(Whiteboard: dsdsrun1.3-1)
Attachments
(1 file, 1 obsolete file)
1.77 KB,
patch
|
aknow
:
review+
|
Details | Diff | Splinter Review |
Reproducible on dsds [fugu] machine. Gaia cbd29217ea37209449774b0c31cbfbdd2da6ee68 Gecko 0711d9529ced971c85244c4be3504d01edf5161d BuildID 20131211154453 Version 28.0a2 ro.build.version.incremental=13 Reproduce steps: 1. Turn on airplane mode 2. Before it actually turned on, restart the device. EXPECT: - Airplane mode is turned on, and can be turned off. ACTUAL: - User cannot turn off airplane mode, which disables data connection.
Reporter | ||
Updated•11 years ago
|
Whiteboard: dsdsrun1.3-1
Assignee | ||
Comment 1•11 years ago
|
||
Hi Paul, Need your help to reproduce the bug. I have tried it several times but didn't trigger the problem. My Steps: 0. fugu with 2 sim cards 1. turn on airplane mode from (a) utility tray or (b) settings 2. after I tap the icon, reboot the phone by "adb reboot" immediately 3. after the power on, turn off airplane mode. It takes some time, but will be OK eventually.
Flags: needinfo?(pyang)
Reporter | ||
Comment 2•11 years ago
|
||
After doing some experiments, Enable data call may be a key factor of this bug. Please help to enable data connection before reproducing.
Flags: needinfo?(pyang)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → szchen
Assignee | ||
Comment 3•11 years ago
|
||
Rollback radio state if setRadioEnabled fails.
Attachment #8351084 -
Flags: review?(htsai)
Comment 4•11 years ago
|
||
Comment on attachment 8351084 [details] [diff] [review] radio state rollback Review of attachment 8351084 [details] [diff] [review]: ----------------------------------------------------------------- r=me with comment addressed. Thank you. ::: dom/system/gonk/RadioInterfaceLayer.js @@ +2873,5 @@ > } > > let callback = (function(response) { > + if (response.errorMsg) { > + // Request fail. Rollback to the original radiostate. nit: s/fail/fails/ ::: dom/system/gonk/ril_worker.js @@ +5237,5 @@ > if (DEBUG) debug("Operator: " + operatorData); > this._processOperator(operatorData); > }; > RIL[REQUEST_RADIO_POWER] = function REQUEST_RADIO_POWER(length, options) { > + options.errorMsg = RIL_ERROR_TO_GECKO_ERROR[options.rilRequestError]; Please place this line after the clause of |if (options.rilMessageType == null)| because we don't need it if options.rilMessageType isn't null.
Attachment #8351084 -
Flags: review?(htsai) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8351084 -
Attachment is obsolete: true
Attachment #8355119 -
Flags: review+
Assignee | ||
Comment 6•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=cd9aaccd0885
Keywords: checkin-needed
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/e0d22cbe1e83
Keywords: checkin-needed
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e0d22cbe1e83
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
Verified on fugu Gaia ee25b0e45649d2955f340ce4f71ad55712dd0fab Gecko 913cf2b92845441c9578787362ddad6f2ac15df6 BuildID 20140121095108 Version 28.0a2
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•