diff options
author | Anil Admal <aadmal@google.com> | 2019-03-06 19:23:25 -0800 |
---|---|---|
committer | Anil Admal <aadmal@google.com> | 2019-03-06 19:45:05 -0800 |
commit | 032aa81d852114410721500c67e29861da072c1a (patch) | |
tree | 3c3a8ae277c9c1c829240afc96dbf9be43cec065 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 863affdeef66ff04159d15262e4ce231f4b3e1dd (diff) |
Resume GNSS measurement reporting when location setting is back on.
The mGnssMeasurementsProvider.onGpsEnabledChanged() and
mGnssNavigationMessageProvider.onGpsEnabledChanged() methods called
from handleEnable() and handleDisable() methods expect the mEnabled
flag to be already updated before they are called. They check mEnabled
to reregister listeners with the GNSS HAL when the master location
setting is turned back on.
Fixes: 126715741
Test: Tested with a Pixel device before and after this fix.
Verified that measurements reporting resumes when the
master location settings is turned back on.
Change-Id: Ia1f5edaf3e65fffec9ddf108fd726dd03376047e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions