Merge "Fixed an issue where clearing transient views could ANR" into nyc-dev

This commit is contained in:
Selim Cinek
2016-05-09 23:33:14 +00:00
committed by Android (Google) Code Review

View File

@@ -2851,7 +2851,7 @@ public class NotificationStackScrollLayout extends ViewGroup
private void clearTransientViews(ViewGroup viewGroup) { private void clearTransientViews(ViewGroup viewGroup) {
while (viewGroup != null && viewGroup.getTransientViewCount() != 0) { while (viewGroup != null && viewGroup.getTransientViewCount() != 0) {
viewGroup.removeTransientView(getTransientView(0)); viewGroup.removeTransientView(viewGroup.getTransientView(0));
} }
} }