File tree Expand file tree Collapse file tree
src/com/dtmilano/android/adb Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33from setuptools import setup , find_packages
44
55setup (name = 'androidviewclient' ,
6- version = '4.6.0 ' ,
6+ version = '4.6.1 ' ,
77 description = '''AndroidViewClient is a 100% pure python tool that
88 simplifies test script creation providing higher level operations and the ability of
99 obtaining the tree of Views present at any given moment on the device or emulator screen.
Original file line number Diff line number Diff line change 1717@author: Diego Torres Milano
1818'''
1919
20- __version__ = '4.6.0 '
20+ __version__ = '4.6.1 '
2121
2222import sys
2323import warnings
@@ -390,7 +390,7 @@ def isLocked(self):
390390 '''
391391
392392 lockScreenRE = re .compile ('mShowingLockscreen=(true|false)' )
393- m = lockScreenRE .search (self .shell ('( dumpsys window policy' ))
393+ m = lockScreenRE .search (self .shell ('dumpsys window policy' ))
394394 if m :
395395 return (m .group (1 ) == 'true' )
396396 raise RuntimeError ("Couldn't determine screen lock state" )
You can’t perform that action at this time.
0 commit comments