Merge "Always flush batch before stopping" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b671e11e93
@@ -1184,6 +1184,7 @@ public class GnssLocationProvider extends AbstractLocationProvider implements
|
||||
mAlarmManager.cancel(mBatchingAlarm);
|
||||
mBatchingAlarm = null;
|
||||
}
|
||||
mGnssNative.flushBatch();
|
||||
mGnssNative.stopBatch();
|
||||
mBatchingStarted = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user