1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-16 09:29:30 +08:00

Merge branch 'LmeSzinc:master' into master

This commit is contained in:
Zuosizhu
2023-03-09 00:54:24 +08:00
committed by GitHub
4 changed files with 23 additions and 8 deletions

View File

@@ -242,7 +242,7 @@ class Adb(Connection):
package_name = self.package
result = self.adb_shell([
'monkey', '-p', package_name, '-c',
'android.intent.category.LAUNCHER', '1'
'android.intent.category.LAUNCHER', '--pct-syskeys', '0', '1'
])
if 'No activities found' in result:
# ** No activities found to run, monkey aborted.