Refix "emulator: disable setting NR as network type" am: ba5a679a01
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/15677291 Change-Id: I22dffa20e70e47366099ac3687e4bf79f5e2202a
This commit is contained in:
@@ -91,8 +91,6 @@ public class DefaultActivity extends Activity {
|
||||
// the following blocks, TODO: find out why and fix it. disable this for now.
|
||||
// TelephonyManager mTelephony = getApplicationContext().getSystemService(TelephonyManager.class);
|
||||
// mTelephony.setPreferredNetworkTypeBitmask(TelephonyManager.NETWORK_TYPE_BITMASK_NR);
|
||||
TelephonyManager mTelephony = getApplicationContext().getSystemService(TelephonyManager.class);
|
||||
mTelephony.setPreferredNetworkTypeBitmask(TelephonyManager.NETWORK_TYPE_BITMASK_NR);
|
||||
if ("freeform".equals(displaySettingsName)) {
|
||||
Settings.Global.putInt(getContentResolver(), "sf", 1);
|
||||
Settings.Global.putString(getContentResolver(), Settings.Global.DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT, "1");
|
||||
|
||||
Reference in New Issue
Block a user