fix: crash on automator code generate

This commit is contained in:
hyb1996 committed 2018-09-26 23:45:51 +08:00
1 parent 301a4286e5
commit 00e687f10d
1 file changed
+2 -2
@@ -17,12 +17,12 @@ public class ReadOnlyUiObject extends UiObject {
private NodeInfo mNodeInfo;
public ReadOnlyUiObject(NodeInfo info) {
super(info, info.depth, -1);
super(null, info.depth, -1);
mNodeInfo = info;
}
public ReadOnlyUiObject(NodeInfo info, int indexInParent) {
super(info, info.depth, indexInParent);
super(null, info.depth, indexInParent);
mNodeInfo = info;
}