Skip to content

Commit ab42554

Browse files
Github workflow fixes
1 parent 32fc2e9 commit ab42554

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/io/appium/java_client/LocksDevice.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ default void unlockDevice() {
6464
final String extName = "mobile: unlock";
6565
try {
6666
//noinspection ConstantConditions
67-
if (!Boolean.parseBoolean(CommandExecutionHelper.executeScript(assertExtensionExists(extName),
68-
"mobile: isLocked"))) {
67+
if (!(Boolean) CommandExecutionHelper.executeScript(assertExtensionExists(extName), "mobile: isLocked")) {
6968
return;
7069
}
7170
CommandExecutionHelper.executeScript(this, extName);

0 commit comments

Comments
 (0)