Hi,

I am using a ZTE Open C with nightly builds from
http://builds.firefoxos.mozfr.org/opencebay/ and am seeing a change in
behaviour for GPS when the screen is switched off.

It used to be the case that an app would still receive GPS location
updates (using the navigator.geolocation.watchPosition API) when the
user turned the screen off. But with recent build (last week) it
appears that GPS is turned off when the user turns off the screen and
only turned on again when the user turns the screen back on (and it
takes a few seconds to get a new location via GPS).

Any ideas what the reason for this change could be? Was there a change
in Gecko? And if so, what would an application have to do to prevent
GPS being turned off? Is there any resource lock to acquire to prevent
this?


Christof

-- 

http://cmeerw.org                              sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to