Skip to content

Commit a4ef42a

Browse files
committed
API 8 differences extended to support API 7 too (which seems to be compatible)
1 parent 1bfc683 commit a4ef42a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

AndroidViewClient/src/com/dtmilano/android/viewclient.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@author: Diego Torres Milano
1818
'''
1919

20-
__version__ = '2.3.19'
20+
__version__ = '2.3.20'
2121

2222
import sys
2323
import subprocess
@@ -279,14 +279,14 @@ def __init__(self, map, device, version=-1, forceviewserveruse=False):
279279
self.topProperty = TOP_PROPERTY
280280
self.widthProperty = WIDTH_PROPERTY
281281
self.heightProperty = HEIGHT_PROPERTY
282-
elif version >= 8 and version < 10:
282+
elif version >= 7 and version < 10:
283283
self.idProperty = ID_PROPERTY
284284
self.textProperty = TEXT_PROPERTY_API_10
285285
self.leftProperty = LEFT_PROPERTY_API_8
286286
self.topProperty = TOP_PROPERTY_API_8
287287
self.widthProperty = WIDTH_PROPERTY_API_8
288288
self.heightProperty = HEIGHT_PROPERTY_API_8
289-
elif version > 0 and version < 8:
289+
elif version > 0 and version < 7:
290290
self.idProperty = ID_PROPERTY
291291
self.textProperty = TEXT_PROPERTY_API_10
292292
self.leftProperty = LEFT_PROPERTY

0 commit comments

Comments
 (0)