/**
* Tests if the browser is run on ChromeOS (e.g. a Chromebook).
*
- * @return true if run on ChromeOS false if the user is not using ChromeOS or if no
- * information on the browser is present
+ * @return true if run on ChromeOS false if the user is not using ChromeOS
+ * or if no information on the browser is present
+ * @since 8.1.1
*/
public boolean isChromeOS() {
return browserDetails.isChromeOS();
} else {
os = OperatingSystem.MACOSX;
}
- } else if (userAgent.contains("; cros ")){
+ } else if (userAgent.contains("; cros ")) {
os = OperatingSystem.CHROMEOS;
isChromeOS = true;
parseChromeOSVersion(userAgent);
}
}
}
-
+
private void parseAndroidVersion(String userAgent) {
// Android 5.1;
if (!userAgent.contains("android")) {
* Tests if the browser is run on Chrome OS (e.g. a Chromebook).
*
* @return true if run on Chrome OS, false otherwise
+ * @since 8.1.1
*/
public boolean isChromeOS() {
return isChromeOS;
/** The rows in this section. */
public List<RowState> rows = new ArrayList<>();
- /** Visibility of this section. */
+ /**
+ * Visibility of this section.
+ *
+ * @since 8.1.1
+ */
public boolean visible = true;
}