Closed codeskyblue closed 9 years ago
the orientation should be 1, but got -1
This code works fine on Xiaomi1
patten = re.compile('SurfaceOrientation:\s+(\d+)') output = self.adbshell('dumpsys', 'input') match = patten.search(output) if match: return int(match.group(1))
the orientation should be 1, but got -1
This code works fine on Xiaomi1