Merge "Remove GPS single shot request" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-05-28 17:32:06 +00:00
committed by Android (Google) Code Review

View File

@@ -162,9 +162,6 @@ public final class TwilightService extends SystemService
if (mLocationManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER)) {
mLocationManager.requestSingleUpdate(
LocationManager.NETWORK_PROVIDER, this, Looper.getMainLooper());
} else if (mLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) {
mLocationManager.requestSingleUpdate(
LocationManager.GPS_PROVIDER, this, Looper.getMainLooper());
}
}