Skip to content
Closed
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,9 @@ public void run() {
* subclass to support UIOperations not provided by UIViewOperationQueue.
*/
protected void enqueueUIOperation(UIOperation operation) {
mOperations.add(operation);
if (operation != null) {
mOperations.add(operation);
}
}

public void enqueueRemoveRootView(int rootViewTag) {
Expand Down Expand Up @@ -778,8 +780,8 @@ public void run() {
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this change since it's not relevant.

if (operations != null) {
for (int i = 0; i < operations.size(); i++) {
operations.get(i).execute();
for (UIOperation op : operations) {
op.execute();
}
}

Expand Down