Merge "Add system prop to work around tether provisioning"

This commit is contained in:
Robert Greenwalt
2011-11-10 10:02:40 -08:00
committed by Android (Google) Code Review

View File

@@ -37,6 +37,7 @@ import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.os.Environment;
import android.os.SystemProperties;
import android.preference.CheckBoxPreference;
import android.preference.Preference;
import android.preference.PreferenceScreen;
@@ -476,6 +477,9 @@ public class TetherSettings extends SettingsPreferenceFragment
}
boolean isProvisioningNeeded() {
if (SystemProperties.getBoolean("net.tethering.noprovisioning", false)) {
return false;
}
return mProvisionApp.length == 2;
}