mirror of
https://github.com/appium/appium.git
synced 2026-02-11 20:39:04 -06:00
change order of unlock regexes
This commit is contained in:
@@ -894,14 +894,14 @@ ADB.prototype.isScreenLocked = function(cb) {
|
||||
} else {
|
||||
cb(null, true);
|
||||
}
|
||||
} else if (gbScreenLocked && gbScreenLocked[0]) {
|
||||
cb(null, true);
|
||||
} else if (samsungNoteUnlocked && samsungNoteUnlocked[0]) {
|
||||
if (samsungNoteUnlocked[0].split('=')[1] == 'true') {
|
||||
cb(null, false);
|
||||
} else {
|
||||
cb(null, true);
|
||||
}
|
||||
} else if (gbScreenLocked && gbScreenLocked[0]) {
|
||||
cb(null, true);
|
||||
} else {
|
||||
cb(null, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user