Skip to content

Commit

Permalink
Automated g4 rollback of changelist 454163860
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 457744460
  • Loading branch information
drchen authored and raajkumars committed Jun 29, 2022
1 parent 7e9045b commit ca2da6c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/java/com/google/android/material/appbar/AppBarLayout.java
Expand Up @@ -677,10 +677,6 @@ public final int getTotalScrollRange() {
int range = 0;
for (int i = 0, z = getChildCount(); i < z; i++) {
final View child = getChildAt(i);
if (child.getVisibility() == GONE) {
// Gone views should not be included in the scroll range calculation.
continue;
}
final LayoutParams lp = (LayoutParams) child.getLayoutParams();
final int childHeight = child.getMeasuredHeight();
final int flags = lp.scrollFlags;
Expand Down

0 comments on commit ca2da6c

Please sign in to comment.