BugFix: GNSS HAL was not enabled at start

The mEnabled flag that is used to check if HAL enable is needed was not
set correctly to false at the start.

Bug: 124134653
Test: Current Tests Pass.
Change-Id: Ib76565431ee93419407df8d1de9714a0da138b3a
This commit is contained in:
gomo
2019-02-09 19:17:47 -08:00
parent ad2a2402e7
commit 92ace29927

View File

@@ -302,7 +302,7 @@ public class GnssLocationProvider extends AbstractLocationProvider implements
MAX_RETRY_INTERVAL);
// true if we are enabled, protected by this
private boolean mEnabled = true;
private boolean mEnabled;
private boolean mShutdown;