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: Ia610562f5ef94e66b5bf892e7183189b828b6f06
This commit is contained in:
Selim Cinek
2016-05-09 23:46:02 +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));
}
}