[GPS] Support GPS config (GPS_LOCK)

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
3 years ago
8 months ago

People

(Reporter: alchen, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
This bug is from the bug 1201778.
It is for the support of GPS_LOCK.


[Quote Bhavna Sharma's comment]
Different carriers have different requirements for location request triggered by SUPL when location mode is on/off. There is a GPS_LOCK setting in /system/etc/gps.conf which can have the following values

# Below bit mask configures how GPS functionalities
# should be locked when user turns off GPS on Settings
# Set bit 0x1 if MO GPS functionalities are to be locked
# Set bit 0x2 if NI GPS functionalities are to be locked
# default - non is locked for backward compatibility
#GPS_LOCK = 0

As of today the default value is 0 which means even if Location mode is OFF, SUPL location request should still be handled. But some carriers may want to set this to 0x2, which means even SUPL requested location must be turned off if location mode is OFF.

Comment 1

8 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.