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

am: b745a89c1f

* commit 'b745a89c1f1cec0bfc14c5cd3053b32b0ffc22fe':
  Fixed an issue where clearing transient views could ANR

Change-Id: Ia38f5fc483078241124b92b1ab15a30b7544014f
This commit is contained in:
Selim Cinek
2016-05-09 23:46:00 +00:00
committed by android-build-merger

View File

@@ -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));
}
}