Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14430571 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Always flush batch before stopping" into tm-dev am: b671e11e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17161884

Change-Id: Ia4ec98f93f7a43ffc3b1a78fea33053636dfba9d
parents ba3c1b25 b671e11e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1184,6 +1184,7 @@ public class GnssLocationProvider extends AbstractLocationProvider implements
                mAlarmManager.cancel(mBatchingAlarm);
                mBatchingAlarm = null;
            }
            mGnssNative.flushBatch();
            mGnssNative.stopBatch();
            mBatchingStarted = false;
        }