Closed Bug 806761 Opened 13 years ago Closed 12 years ago

Airplane mode: Should also turn off Wifi hotspot when we are in airplane mode.

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+)

RESOLVED FIXED
blocking-basecamp +

People

(Reporter: vchang, Assigned: rexboy)

Details

Attachments

(2 files)

No description provided.
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) from comment #1) > https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/airplane_mode. > js#L69 > > We do turn off wifi here. Also need to disable Wifi hotspot I think. Set "tethering.wifi.enabled = false".
(In reply to Vincent Chang from comment #2) > (In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) from comment #1) > > https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/airplane_mode. > > js#L69 > > > > We do turn off wifi here. > > Also need to disable Wifi hotspot I think. > Set "tethering.wifi.enabled = false". My mistake. Rex, can you take it?
Assignee: nobody → rexboy
Attached file Fix to bug 806761
Patch attached. Would you help reviewing the code, Tim? Note that I don't restore Wifi tethering settings when leaving airplane mode, because Wifi tethering can't be switched on before data connection is established. (Tethering would be set to off immediately if I turned it on)
Attachment #676941 - Flags: review?(timdream+bugs)
Making sure this is a bb+ bug first. This should be a bb+ block coz not fixing this bug means shipping an incomplete airplane mode. We don't want to crash airplanes.
blocking-basecamp: --- → ?
blocking+, something we must fix by ship.
blocking-basecamp: ? → +
Priority: -- → P3
Comment on attachment 676941 [details] Fix to bug 806761 r=me
Attachment #676941 - Flags: review?(timdream+bugs) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Defect is verified as fixed using Unagi, build 20121231070201
Status: RESOLVED → VERIFIED
i can reproduce this bug with geeksphone keon stable build v1.1.0.0 buildid: 20130724051151
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
I can't reproduce it. My step is 1. Open settings 2. internet sharing -> Turn on wi-fi hotspot 3. turn on airplane mode and the wi-fi hotspot is turned off as expected. Can someone confirm it ? Gaia commit: v1-train, c97b3e11acad10a757b00fdffb5caab54afb6fea in Jul. 26
and what about bluetooth? is it working on airplane mode or not?
Flags: needinfo?(rexboy)
Attached image screenshot_GPkeon
here is the screenshot
Having same issue. Turning on airplane mode after enabling tethering does not shut down the actual AP, though the icons for "internet sharing" indicate off. Moreover, when turning airplane mode off the AP still runs, but the icons do not reappear/switch to on/blue (clicking on the enable wifi hotspot turns the hotspot off).
(In reply to Deian Stefan from comment #14) > Having same issue. Turning on airplane mode after enabling tethering > does not shut down the actual AP, though the icons for "internet > sharing" indicate off. Seems a device interface issue. Vincent, can you check this? Thanks.
Flags: needinfo?(vchang)
I don't find this problem in b2g18 + gaia v1-train using buri. Not sure if this is still a problem.
Flags: needinfo?(vchang)
Closing since it's been a while and we still can't reproduce it. Please reopen if it still doesn't work.
Status: REOPENED → RESOLVED
Closed: 13 years ago12 years ago
Flags: needinfo?(rexboy)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: