GPS on and off is switched when using google maps from the browser
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Incomplete
|
Undecided
|
Unassigned | ||
webbrowser-app (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
STEPS:
1. Flash Frieza with the latest image
2. Enable developer mode
3. adb shell from desktop
4. Run tail -f /var/log/syslog | grep --line-buffered GPS
5. Open the browser
6. Navigate to the maps.google.com
7. Enable location in browser and on page
8. Get a location
9. Switch the browser to the background
10. Now switch it to the foreground
EXPECTED:
I expect to see GPS activate and list a bunch of lines to say it has while the app is in the foreground
I expect to see GPS_close: WMT turn off GPS OK! when the app is in the background
ACTUAL:
The opposite is actually happening, When the app is in the foreground you get
May 25 12:19:35 ubuntu-phablet kernel: [ 1435.112882] (0)[1044:mnld][GPS] [I]GPS_close: WMT turn off GPS OK!
When the app is in the background you get:
May 25 12:19:36 ubuntu-phablet kernel: [ 1435.108749] (1)[1903:
This is only happening in the browser for google maps, for here and unav the gps is behaving as expected. We are not entirely sure why on this so we are starting the bug in the browser app.
attach the log for debugging.