Closed Bug 1220024 Opened 10 years ago Closed 8 years ago

[GPS] Support of loading the gps config dynamically

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alchen, Unassigned)

Details

This bug is from bug 1201778 comment 56. [Quote Bhavna Sharma's comment] The need for loading the gps config dynamically i.e. loading the GPS_LOCK based on the SIM card (i.e. every carrier may have their own GPS_LOCK setting) Say if SIM card is changed, and each carrier had their own GPS_LOCK config, then a hard coded GPS_LOCK set in gps.conf will not work. This is needed so that OEM's do not have to care about setting a different GPS_LOCK as per carrier requirement. This support is needed from OS layer.
Hi Bhavna: 1. Besides GPS_LOCK, is there any other gps config we need to take care? 2. Will one carrier correspond to only one config set?
Flags: needinfo?(sbhavna)
Hi Alphan, You can refer to this function to see what all properties can be loaded and updated. frameworks/base/services/core/java/com/android/server/location/GpsLocationProvider.java#subscriptionOrSimChanged gps.h also provides an interface to update HAL with the new properties Please refer to use of GnssConfigurationInterface on how the update is made to HAL. I am also still trying to go through and understand the code.
Flags: needinfo?(sbhavna)
(In reply to Bhavna Sharma from comment #2) > Hi Alphan, > > You can refer to this function to see what all properties can be loaded and > updated. > frameworks/base/services/core/java/com/android/server/location/ > GpsLocationProvider.java#subscriptionOrSimChanged https://android.googlesource.com/platform/frameworks/base/+/master/services/core/java/com/android/server/location/GpsLocationProvider.java I don't see GPS_LOCK related code in this file. > > gps.h also provides an interface to update HAL with the new properties > Please refer to use of GnssConfigurationInterface on how the update is made > to HAL. Is it only for Gnss but GPS?
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.