Merge "Fixed an issue where clearing transient views could ANR" into nyc-dev am: b745a89c1f
am: d927236e9d
* commit 'd927236e9d572bffc0a10dde46cb943465312f18':
Fixed an issue where clearing transient views could ANR
Change-Id: I5188864dafb14188155bbfe6a8c2898bd77ea994
This commit is contained in:
@@ -2851,7 +2851,7 @@ public class NotificationStackScrollLayout extends ViewGroup
|
||||
|
||||
private void clearTransientViews(ViewGroup viewGroup) {
|
||||
while (viewGroup != null && viewGroup.getTransientViewCount() != 0) {
|
||||
viewGroup.removeTransientView(getTransientView(0));
|
||||
viewGroup.removeTransientView(viewGroup.getTransientView(0));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user