mirror of
https://github.com/TonyJiangWJ/Auto.js.git
synced 2026-06-21 21:01:43 +08:00
fix: crash on automator code generate
This commit is contained in:
parent
301a4286e5
commit
00e687f10d
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user