mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-22 09:19:28 +08:00
Fix: Restart ATX and UiAutomator at an incorrect situation
This commit is contained in:
@@ -147,12 +147,14 @@ class LoginHandler(UI):
|
||||
|
||||
def app_start(self):
|
||||
logger.hr('App start')
|
||||
GGHandler(config=self.config, device=self.device).handle_before_restart()
|
||||
self.device.app_start()
|
||||
self.handle_app_login()
|
||||
# self.ensure_no_unfinished_campaign()
|
||||
|
||||
def app_restart(self):
|
||||
logger.hr('App restart')
|
||||
GGHandler(config=self.config, device=self.device).handle_before_restart()
|
||||
self.device.app_stop()
|
||||
self.device.app_start()
|
||||
self.handle_app_login()
|
||||
|
||||
Reference in New Issue
Block a user