Skip to content

Commit d671762

Browse files
committed
Add checked and focused to attributes
1 parent dd209da commit d671762

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/com/dtmilano/android/viewclient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3274,9 +3274,9 @@ def __attributesFromWindowHierarchyChild(child):
32743274
bounds = ((int(child.bounds[0]), int(child.bounds[1])), (int(child.bounds[2]), int(child.bounds[3])))
32753275
return {'index': child.index, 'text': child.text, 'resource-id': child.resource_id, 'class': child.clazz,
32763276
'package': child.package, 'content-desc': child.content_description, 'checkable': child.checkable,
3277-
'checked': False, # FIXME
3277+
'checked': child.checked,
32783278
'clickable': child.clickable, 'enabled': child.enabled, 'focusable': child.focusable,
3279-
'focused': False, # FIXME
3279+
'focused': child.focused,
32803280
'scrollable': child.scrollable, 'long-clickable': child.long_clickable,
32813281
'password': child.password, 'selected': child.selected, 'bounds': bounds,
32823282
'uniqueId': child.unique_id}

0 commit comments

Comments
 (0)