1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 06:18:21 +08:00

Fix: [ALAS] Launch parameters on waydroid (#4000)

This commit is contained in:
LmeSzinc
2024-08-11 00:15:39 +08:00
parent 9c7f2fcb7d
commit 886736de45
4 changed files with 21 additions and 4 deletions

View File

@@ -301,6 +301,13 @@ class Connection(ConnectionAttr):
return True
return False
@cached_property
@retry
def is_waydroid(self):
res = self.adb_getprop('ro.product.brand')
logger.attr('ro.product.brand', res)
return 'waydroid' in res.lower()
@cached_property
@retry
def nemud_app_keep_alive(self) -> str: