diff options
author | Yu-Han Yang <yuhany@google.com> | 2020-01-14 10:51:41 -0800 |
---|---|---|
committer | Yu-Han Yang <yuhany@google.com> | 2020-02-10 11:44:20 -0800 |
commit | 519694b50a9d5aca43fa19813ccd319b33792816 (patch) | |
tree | 7f0b48e5cf44c873781321ed2fcf79601dde73ed /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 729082ca25df6a6a879d7ec0602c3e69b5757fa9 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions