Revert "ANDROID: allow using network as a location provider"
am: b83b0f1f72
Change-Id: I40eb438cbd574fb20a949136bb427c62aef439f5
This commit is contained in:
@@ -51,10 +51,7 @@ public class DefaultActivity extends Activity {
|
||||
// Enable the GPS.
|
||||
// Not needed since this SDK will contain the Settings app.
|
||||
Settings.Secure.putString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
|
||||
LocationManager.GPS_PROVIDER + "," + LocationManager.NETWORK_PROVIDER);
|
||||
|
||||
Settings.Secure.putInt(getContentResolver(), Settings.Secure.LOCATION_MODE,
|
||||
Settings.Secure.LOCATION_MODE_HIGH_ACCURACY);
|
||||
LocationManager.GPS_PROVIDER);
|
||||
|
||||
// enable install from non market
|
||||
Settings.Global.putInt(getContentResolver(), Settings.Global.INSTALL_NON_MARKET_APPS, 1);
|
||||
|
||||
Reference in New Issue
Block a user