enhance logging and fix Null pointer exception at wifi Null
This commit is contained in:
@@ -60,6 +60,11 @@ public class WifiVerificationService {
|
||||
}
|
||||
|
||||
public String getClassification(String encryptionType) {
|
||||
// Check if encryptionType is null
|
||||
if (encryptionType == null) {
|
||||
return CLASSIFY_UNSAFE;
|
||||
}
|
||||
|
||||
if (encryptionType.equalsIgnoreCase("WPA") ||
|
||||
encryptionType.equalsIgnoreCase("WPA2") ||
|
||||
encryptionType.equalsIgnoreCase("WPA3")) {
|
||||
|
||||
Reference in New Issue
Block a user