Skip to content

Commit

Permalink
Merge pull request #476 from wh0/patch-1
Browse files Browse the repository at this point in the history
Fix Android detection false negative
  • Loading branch information
tomaswolf authored Apr 2, 2024
2 parents a6dad81 + d217650 commit 2b3b15c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ private static boolean resolveAndroidSettingFlag(
}

for (String p : detectionProps) {
if (detector.test(p)) {
String detectionPropValue = System.getProperty(p);
if (detector.test(detectionPropValue)) {
flagHolder.set(Boolean.TRUE);
return true;
}
Expand Down

0 comments on commit 2b3b15c

Please sign in to comment.