Fix target API version 30 (minimum for play store), 5G checkbox not required for EMF/MCH
This commit is contained in:
parent
6baf5196f7
commit
2870b97b89
3 changed files with 11 additions and 9 deletions
|
@ -1,12 +1,12 @@
|
|||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
compileSdkVersion 30
|
||||
|
||||
defaultConfig {
|
||||
applicationId "nl.eventinfra.wifisetup"
|
||||
minSdkVersion 18
|
||||
targetSdkVersion 28
|
||||
targetSdkVersion 30
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="nl.eventinfra.wifisetup" android:installLocation="auto" android:versionCode="20191205" android:versionName="0.31">
|
||||
package="nl.eventinfra.wifisetup" android:installLocation="auto" android:versionCode="20220525" android:versionName="0.33">
|
||||
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.wifi" android:required="true"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
||||
|
|
|
@ -137,10 +137,10 @@ public class WifiSetup extends Activity {
|
|||
username = (EditText) findViewById(R.id.username);
|
||||
password = (EditText) findViewById(R.id.password);
|
||||
|
||||
|
||||
/*
|
||||
check5g = (CheckBox) findViewById(R.id.check5g);
|
||||
check5g.setChecked(true);
|
||||
/*
|
||||
|
||||
TextView label5g = (TextView) findViewById(R.id.label5g);
|
||||
if (android.os.Build.VERSION.SDK_INT >= 21) {
|
||||
check5g.setChecked(get5G());
|
||||
|
@ -273,13 +273,15 @@ public class WifiSetup extends Activity {
|
|||
StoreWifiProfile(ssid, subject_match, altsubject_match, s_username, s_password);
|
||||
|
||||
// MCH2022
|
||||
if (check5g.isChecked()) {
|
||||
|
||||
/*if (check5g.isChecked()) {
|
||||
ssid = "MCH2022";
|
||||
} else {
|
||||
ssid = "MCH2022-legacy";
|
||||
}
|
||||
subject_match = "/CN=radius.mch2022.nl";
|
||||
altsubject_match = "DNS:radius.mch2022.nl";
|
||||
}*/
|
||||
ssid = "MCH2022";
|
||||
subject_match = "/CN=radius.mch2022.org";
|
||||
altsubject_match = "DNS:radius.mch2022.org";
|
||||
|
||||
realm = "";
|
||||
switch (selected_profile) {
|
||||
|
|
Loading…
Reference in a new issue