Closed
Bug 836505
Opened 12 years ago
Closed 12 years ago
GPS not turning off
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: cjones, Assigned: kanru)
Details
Attachments
(1 file, 1 obsolete file)
1.47 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
I don't have very good STR, but I launched Camera a few times, and launched Maps. The phone was idle for a while. This is on unagi.
I noticed Maps running in the background and killed it. Camera is dead. GPS is still running.
Nom blocking because likely power issue.
Reporter | ||
Comment 1•12 years ago
|
||
To be clearer, I mean that GPS is *active* (white icon in status bar).
Disabling GPS through settings didn't turn it off. Enabling airplane mode didn't turn it off.
Assignee | ||
Comment 2•12 years ago
|
||
Hmm.. with newest gaia (1d73b9a2c) the Camera does not ask for geolocation anymore.
Comment 3•12 years ago
|
||
QA: if we can increase the R of the STR that would be awesome.
Assignee: nobody → kchen
blocking-b2g: tef? → tef+
Reporter | ||
Comment 4•12 years ago
|
||
This worked for me this morning:
1. Launch Maps app.
2. Wait a few seconds
3. Open task tray and kill Maps
4. Goto (1)
Comment 5•12 years ago
|
||
i have Google Maps from E.me (local) added to my home screen.
i just have to launch Google Map and once GPS indicator shows up, press home to homescreen. GPS indicator stays there (even if i kill Google Maps from task view)
I noticed if you select "Remember my choice" as no then it will shut off...
if you select "Remember my choice" it will take longer for it to turn off...
STR:
1. launch browser
2. go to maps.google.com
3. select "Remember my choice" as yes
4. Allow for geolocation
5. kill the browser app using the task tray.
6. turn off geolocation in the settings...
the geolocation stays there only for about 1 minute.
Cjones does it stay on for like 3 minutes? or does it never turn off?
FYI: I respond fastest with the needmoreinfo? flag.
Flags: needinfo?(jones.chris.g)
Keywords: qawanted
Reporter | ||
Comment 8•12 years ago
|
||
GPS was on (bright white, active) earlier today after I used maps last night. (And of course maps was long since killed.) "Forever".
Flags: needinfo?(jones.chris.g)
Assignee | ||
Comment 10•12 years ago
|
||
I have seen this on my dogfood phone. But I can't reproduce it now with latest b2g18 gecko :-/
Flags: needinfo?(kchen)
Assignee | ||
Comment 11•12 years ago
|
||
Hmm.. found another STR
1. Open both Camera and Maps
2. Kill them all
Assignee | ||
Comment 12•12 years ago
|
||
Hmm.. found another STR
1. Open both Camera and Maps
2. Kill them all
Assignee | ||
Comment 13•12 years ago
|
||
I/Gecko ( 575): ###!!! [Child][AsyncChannel] Error: Channel closing: too late to send/recv, messages will be lost
This line looks very suspicious.
Assignee | ||
Comment 14•12 years ago
|
||
We send "starting" event multiple times but "shutdown" only once.
Assignee | ||
Comment 15•12 years ago
|
||
Attachment #710500 -
Flags: review?(fabrice)
Assignee | ||
Comment 16•12 years ago
|
||
Fix the comment.
Attachment #710500 -
Attachment is obsolete: true
Attachment #710500 -
Flags: review?(fabrice)
Attachment #710502 -
Flags: review?(fabrice)
Comment 17•12 years ago
|
||
Comment on attachment 710502 [details] [diff] [review]
We don't care about the active count but only the active state. v1.1
Review of attachment 710502 [details] [diff] [review]:
-----------------------------------------------------------------
So, if appA and appB use the GPS, what happens if:
- appA starts
- appB starts
- appA stops
With your patch we consider that there is no GPS activity anymore, while appB is still using it?
Assignee | ||
Comment 18•12 years ago
|
||
When appB is still using it there will have no shutdown event.
The events look like:
- appA starts -> starting
- appB starts -> starting
- appA stops
- appB stops -> shutdown
Updated•12 years ago
|
Attachment #710502 -
Flags: review?(fabrice) → review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 19•12 years ago
|
||
Keywords: checkin-needed
Comment 20•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 21•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/7afd414d8aba
https://hg.mozilla.org/releases/mozilla-b2g18_v1_0_0/rev/551169a85ee0
status-b2g18:
--- → fixed
status-b2g18-v1.0.0:
--- → fixed
status-firefox19:
--- → wontfix
status-firefox20:
--- → wontfix
status-firefox21:
--- → fixed
Updated•12 years ago
|
status-b2g18-v1.0.1:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•