diff --git a/apps/SdkSetup/src/com/android/sdksetup/DefaultActivity.java b/apps/SdkSetup/src/com/android/sdksetup/DefaultActivity.java index db6385cae..56f43a461 100644 --- a/apps/SdkSetup/src/com/android/sdksetup/DefaultActivity.java +++ b/apps/SdkSetup/src/com/android/sdksetup/DefaultActivity.java @@ -38,9 +38,7 @@ public class DefaultActivity extends Activity { // Enable the GPS. // Not needed since this SDK will contain the Settings app. - LocationManager locationManager = (LocationManager)getSystemService(LOCATION_SERVICE); Settings.Secure.putString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED, LocationManager.GPS_PROVIDER); - locationManager.updateProviders(); // enable install from non market Settings.Secure.putInt(getContentResolver(), Settings.Secure.INSTALL_NON_MARKET_APPS, 1);