Skip to content

Commit ad36d1e

Browse files
chethaaseAndroid (Google) Code Review
authored andcommitted
Merge "Always execute actions on the runQueue"
2 parents cdfc8bc + b78c284 commit ad36d1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/java/android/view/ViewRootImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,13 +1199,13 @@ private void performTraversals() {
11991199
}
12001200
}
12011201

1202+
// Execute enqueued actions on every traversal in case a detached view enqueued an action
1203+
getRunQueue().executeActions(attachInfo.mHandler);
1204+
12021205
boolean insetsChanged = false;
12031206

12041207
boolean layoutRequested = mLayoutRequested && !mStopped;
12051208
if (layoutRequested) {
1206-
// Execute enqueued actions on every layout in case a view that was detached
1207-
// enqueued an action after being detached
1208-
getRunQueue().executeActions(attachInfo.mHandler);
12091209

12101210
final Resources res = mView.getContext().getResources();
12111211

0 commit comments

Comments
 (0)