Merge "Remove GPS single shot request" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a4dbe5ddf9
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user