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

Change-Id: I6456ce046eace6ccd5c3f3f4667ded50275025cc
This commit is contained in:
Weilun Du
2020-03-31 02:00:21 +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.