mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-18 12:12:19 +00:00
fix: change hierarchy dump compression to false for better compatibility
This commit is contained in:
@@ -375,7 +375,7 @@ class Uiautomator2(Connection):
|
|||||||
|
|
||||||
@retry
|
@retry
|
||||||
def dump_hierarchy_uiautomator2(self) -> etree._Element:
|
def dump_hierarchy_uiautomator2(self) -> etree._Element:
|
||||||
content = self.u2.dump_hierarchy(compressed=True)
|
content = self.u2.dump_hierarchy(compressed=False)
|
||||||
hierarchy = etree.fromstring(content.encode('utf-8'))
|
hierarchy = etree.fromstring(content.encode('utf-8'))
|
||||||
return hierarchy
|
return hierarchy
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user