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:
@@ -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