Revert "Emulator: update development to 2362bfb6"

It breaks build of docs because SdkSetup has dependency
on gsf-client

This reverts commit 5c26bfa4bc.
This commit is contained in:
bohu
2017-06-23 14:19:05 -07:00
parent 144c55663a
commit 50dc27b2ca
8 changed files with 4 additions and 21 deletions

View File

@@ -25,9 +25,7 @@ import android.location.LocationManager;
import android.os.Bundle;
import android.os.RemoteException;
import android.os.ServiceManager;
import android.os.SystemProperties;
import android.provider.Settings;
import com.google.android.gsf.UseLocationForServices;
/**
* Entry point for SDK SetupWizard.
@@ -48,10 +46,6 @@ public class DefaultActivity extends Activity {
// Not needed since this SDK will contain the Settings app.
Settings.Secure.putString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
LocationManager.GPS_PROVIDER);
// Allow google apps to have access to (emulated) location services in emulator
if (SystemProperties.getBoolean("ro.kernel.qemu", false)) {
UseLocationForServices.forceSetUseLocationForServices(this, true);
}
// enable install from non market
Settings.Global.putInt(getContentResolver(), Settings.Global.INSTALL_NON_MARKET_APPS, 1);