Add fullTracking to registerGnssMeasurementsCallback (implementation)
- Currently enableFullTracking has a toggle in Developer Option. This change adds a system API for the same functionality. - If at least one of <enableFullTracking in Developer Option> and <enableFullTracking from the system API> is true, full tracking is enabled when registering a GnssMeasurement callback. - For multiple GnssMeasurement callbacks, full tracking is enabled if *at least* one callback has fullTracking enabled. Removing a callback might trigger restarting the measurement collection if the aggregated requirement has changed. Bug: 147387008 Test: atest GnssMeasurementsProviderTest atest GnssManagerServiceTest atest GnssMeasurementRegistrationTest Change-Id: Iedf03edd7053aa0089cfea0d5c0357322f68d9c4
Loading
Please register or sign in to comment