Merge "Restart location requests after HAL restarts" into tm-dev

This commit is contained in:
Yu-Han Yang
2022-05-11 16:57:18 +00:00
committed by Android (Google) Code Review

View File

@@ -1587,6 +1587,7 @@ public class GnssLocationProvider extends AbstractLocationProvider implements
if (isGpsEnabled()) { if (isGpsEnabled()) {
setGpsEnabled(false); setGpsEnabled(false);
updateEnabled(); updateEnabled();
restartLocationRequest();
} }
} }