Skip to content

Commit 3e3c4ee

Browse files
committed
Fix a bug where late-invalidating views with animations would be held
for too long by ViewRootImpl Change-Id: I1e32bf2683b50f8834f215a753f881b5d4b8dbc9
1 parent 4441a36 commit 3e3c4ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/java/android/view/ViewRootImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4447,6 +4447,7 @@ public void run() {
44474447

44484448
for (int i = 0; i < viewCount; i++) {
44494449
mTempViews[i].invalidate();
4450+
mTempViews[i] = null;
44504451
}
44514452

44524453
for (int i = 0; i < viewRectCount; i++) {

0 commit comments

Comments
 (0)