mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Fix: Handle screen rotation
This commit is contained in:
@@ -30,6 +30,9 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user