Merge "[SdkSetup] Disable Offload Tethering" am: c3db8555b4 am: 9e6a2bd5ad

Change-Id: I11e9fd36bbc7714babdcc05e6be6fa95f897d889
This commit is contained in:
Weilun Du
2020-03-31 02:18:12 +00:00
committed by Automerger Merge Worker

View File

@@ -67,6 +67,10 @@ public class DefaultActivity extends Activity {
Settings.Secure.putInt(getContentResolver(), Settings.Secure.INSTALL_NON_MARKET_APPS, 1);
Settings.Global.putInt(getContentResolver(), Settings.Global.ADB_ENABLED, 1);
// Disable offload wifi tethering
Settings.Global.putInt(getContentResolver(), Settings.Global.TETHER_OFFLOAD_DISABLED, 1);
}
// remove this activity from the package manager.