mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 13:09:25 +08:00
Fix: Orientate regex (#1071)
This commit is contained in:
@@ -467,7 +467,7 @@ class Connection:
|
||||
3: 'HOME key on the left'
|
||||
"""
|
||||
_DISPLAY_RE = re.compile(
|
||||
r'.*DisplayViewport{valid=true, .*orientation=(?P<orientation>\d+), .*deviceWidth=(?P<width>\d+), deviceHeight=(?P<height>\d+).*'
|
||||
r'.*DisplayViewport{.*valid=true, .*orientation=(?P<orientation>\d+), .*deviceWidth=(?P<width>\d+), deviceHeight=(?P<height>\d+).*'
|
||||
)
|
||||
output = self.adb_shell(['dumpsys', 'display'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user