1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-16 17:27:22 +08:00

Fix: Watch device orientate when starting app

- Opt: Skip screen size check at the first screenshot when game is not started
This commit is contained in:
LmeSzinc
2022-03-06 16:52:43 +08:00
parent 022acd336a
commit 1ad23dbe90
4 changed files with 25 additions and 16 deletions

View File

@@ -30,9 +30,6 @@ class AppControl(Adb, Uiautomator2):
else:
self.app_start_adb(package)
# Screen may rotate after starting an app
self.get_orientation()
def app_stop(self):
package = self.config.Emulator_PackageName
method = self.config.Emulator_ControlMethod