fix: crash on automator code generate
This commit is contained in:
1 parent
301a4286e5
commit
00e687f10d
1 file changed
+2
-2
@@ -17,12 +17,12 @@ public class ReadOnlyUiObject extends UiObject {
|
|||||||
private NodeInfo mNodeInfo;
|
private NodeInfo mNodeInfo;
|
||||||
|
|
||||||
public ReadOnlyUiObject(NodeInfo info) {
|
public ReadOnlyUiObject(NodeInfo info) {
|
||||||
super(info, info.depth, -1);
|
super(null, info.depth, -1);
|
||||||
mNodeInfo = info;
|
mNodeInfo = info;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ReadOnlyUiObject(NodeInfo info, int indexInParent) {
|
public ReadOnlyUiObject(NodeInfo info, int indexInParent) {
|
||||||
super(info, info.depth, indexInParent);
|
super(null, info.depth, indexInParent);
|
||||||
mNodeInfo = info;
|
mNodeInfo = info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user