Issue 1455 use H: prefix for hidden

git-svn-id: https://zxing.googlecode.com/svn/trunk@2543 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2012-12-07 00:31:18 +00:00
parent cc9a55d1a2
commit bcd38aee57

View file

@ -45,7 +45,7 @@ public final class WifiResultParser extends ResultParser {
if (type == null) { if (type == null) {
type = "nopass"; type = "nopass";
} }
boolean hidden = Boolean.parseBoolean(matchSinglePrefixedField("B:", rawText, ';', false)); boolean hidden = Boolean.parseBoolean(matchSinglePrefixedField("H:", rawText, ';', false));
return new WifiParsedResult(type, ssid, pass, hidden); return new WifiParsedResult(type, ssid, pass, hidden);
} }
} }