Closed Bug 1223080 Opened 10 years ago Closed 10 years ago

Maps Online (Tom Tom maps): GPS icon stays visible even when app not being used

Categories

(Core :: DOM: Geolocation, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1216148

People

(Reporter: emorley, Unassigned)

References

Details

(Keywords: foxfood)

Using the Z3C foxfooding device with the latest FOTA installed (build number: eng.naoki.20151007.074137, build identifier 20151023101519). STR: 1) Open the "Maps online" app (TomTom maps) 2) Press home button (since there's no back button on the phone, sigh, bug 1177649, or exit button in the app) 3) Use the phone for other things 4) Power the screen off 5) Leave the phone for a few mins 6) Power the screen back on Expected: The GPS icon isn't still showing in the status bar at the top of the screen. Actual: The GPS icon is still showing in the status bar, and is presumably eating up battery.
If I'd started a journey in "Maps Online" and the journey appeared in the notifications tray (along with an "exit" button), like Google Maps, then that would be reasonable enough. However I'd not started a journey.
QA Whiteboard: [foxfood-triage]
Component: Gaia::Feedback → Gaia::System::Status bar, Utility tray, Notification
Component: Gaia::System::Status bar, Utility tray, Notification → Geolocation
Product: Firefox OS → Core
Ben, anything we can do here?
Flags: needinfo?(btian)
(In reply to Ed Morley (Away, back 23rd Nov) [:emorley] from comment #0) > 2) Press home button (since there's no back button on the phone, sigh, bug > 1177649, For this case, it is a limitation of current design. We have a bug for this. (bug 1216148) We are propose a way to close the geolocation when the app is in background. By the way, if app want to run geolocation in the background purposely, it need to hold a wakelock for gps or provide a specific option. This proposal is under cooking. > or exit button in the app) If you use exit button in the app, app should clear watchPosition (release the reference of geolocation service). If this symptom exists when exiting the app, it would be bug of that app. PS: You can long press the home screen. Remove that app in task manager and wait a minute. The icon should disappear by this way.
Flags: needinfo?(btian)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.