diff --git a/app/build.gradle b/app/build.gradle index bb3f482..d182878 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,7 +10,7 @@ android { applicationId "com.uam.wmi.findmytutor" minSdkVersion 22 targetSdkVersion 27 - versionCode 70 + versionCode 71 versionName "1.0.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/java/com/uam/wmi/findmytutor/utils/WifiUtils.java b/app/src/main/java/com/uam/wmi/findmytutor/utils/WifiUtils.java index ae02ba6..1689184 100644 --- a/app/src/main/java/com/uam/wmi/findmytutor/utils/WifiUtils.java +++ b/app/src/main/java/com/uam/wmi/findmytutor/utils/WifiUtils.java @@ -17,7 +17,7 @@ public class WifiUtils { if (wifiInfo != null) { NetworkInfo.DetailedState state = WifiInfo.getDetailedStateOf(wifiInfo.getSupplicantState()); if (state == NetworkInfo.DetailedState.CONNECTED || state == NetworkInfo.DetailedState.OBTAINING_IPADDR) { - return wifiInfo.getSSID(); + return wifiInfo.getSSID().replace("\"", ""); } } }