Remove commented code
This commit is contained in:
parent
a0cb96abff
commit
8c9015b57b
1 changed files with 0 additions and 5 deletions
|
@ -1,6 +1,5 @@
|
||||||
package com.google.android.material.appbar;
|
package com.google.android.material.appbar;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
import android.util.AttributeSet;
|
import android.util.AttributeSet;
|
||||||
|
@ -35,8 +34,6 @@ public final class FlingBehavior extends AppBarLayout.Behavior {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int offset = getTopAndBottomOffset();
|
|
||||||
|
|
||||||
int dy;
|
int dy;
|
||||||
|
|
||||||
if (focusScrollRect.bottom > height) {
|
if (focusScrollRect.bottom > height) {
|
||||||
|
@ -49,8 +46,6 @@ public final class FlingBehavior extends AppBarLayout.Behavior {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//int newOffset = offset + dy;
|
|
||||||
|
|
||||||
int consumed = scroll(coordinatorLayout, child, dy, getMaxDragOffset(child), 0);
|
int consumed = scroll(coordinatorLayout, child, dy, getMaxDragOffset(child), 0);
|
||||||
|
|
||||||
return consumed == dy;
|
return consumed == dy;
|
||||||
|
|
Loading…
Reference in a new issue