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)
Tracking
(blocking-basecamp:+)
RESOLVED
FIXED
| blocking-basecamp | + |
People
(Reporter: vchang, Assigned: rexboy)
Details
Attachments
(2 files)
No description provided.
Comment 1•13 years ago
|
||
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/airplane_mode.js#L69
We do turn off wifi here.
| Reporter | ||
Comment 2•13 years ago
|
||
(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".
Comment 3•13 years ago
|
||
(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
| Assignee | ||
Comment 4•13 years ago
|
||
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)
Comment 5•13 years ago
|
||
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: --- → ?
Comment 6•13 years ago
|
||
blocking+, something we must fix by ship.
blocking-basecamp: ? → +
Priority: -- → P3
Comment 7•13 years ago
|
||
Comment on attachment 676941 [details]
Fix to bug 806761
r=me
Attachment #676941 -
Flags: review?(timdream+bugs) → review+
Comment 8•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 9•13 years ago
|
||
Defect is verified as fixed using Unagi, build 20121231070201
Status: RESOLVED → VERIFIED
Comment 10•12 years ago
|
||
i can reproduce this bug with geeksphone keon stable build v1.1.0.0 buildid: 20130724051151
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 11•12 years ago
|
||
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
Comment 12•12 years ago
|
||
and what about bluetooth? is it working on airplane mode or not?
Flags: needinfo?(rexboy)
Comment 13•12 years ago
|
||
here is the screenshot
Comment 14•12 years ago
|
||
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).
Comment 15•12 years ago
|
||
(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)
| Reporter | ||
Comment 16•12 years ago
|
||
I don't find this problem in b2g18 + gaia v1-train using buri. Not sure if this is still a problem.
Flags: needinfo?(vchang)
| Assignee | ||
Comment 17•12 years ago
|
||
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 ago → 12 years ago
Flags: needinfo?(rexboy)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•