mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 16:33:33 +08:00
Fix: Handle AdbError(rest) after granted root access
This commit is contained in:
@@ -238,6 +238,11 @@ def handle_adb_error(e):
|
|||||||
# Raised by uiautomator2 when current adb service is killed by another version of adb service.
|
# Raised by uiautomator2 when current adb service is killed by another version of adb service.
|
||||||
logger.error(e)
|
logger.error(e)
|
||||||
return True
|
return True
|
||||||
|
elif text == 'rest':
|
||||||
|
# AdbError(rest)
|
||||||
|
# Response telling adbd service has reset, client should reconnect
|
||||||
|
logger.error(e)
|
||||||
|
return True
|
||||||
else:
|
else:
|
||||||
# AdbError()
|
# AdbError()
|
||||||
logger.exception(e)
|
logger.exception(e)
|
||||||
|
|||||||
Reference in New Issue
Block a user