Commit cfb375ed authored by Adrien Maglo's avatar Adrien Maglo

SlidingPaneLayout: remove useless code

parent 6b707e0f
......@@ -203,7 +203,6 @@ public class SlidingPaneLayout extends ViewGroup {
ViewCompat.setImportantForAccessibility(this, ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_YES);
mDragHelper = ViewDragHelper.create(this, 0.5f, new DragHelperCallback());
mDragHelper.setEdgeTrackingEnabled(ViewDragHelper.EDGE_TOP);
mDragHelper.setMinVelocity(MIN_FLING_VELOCITY * density);
}
......@@ -949,11 +948,6 @@ public class SlidingPaneLayout extends ViewGroup {
// This could happen if the child has less width than its parent.
return child.getLeft();
}
@Override
public void onEdgeDragStarted(int edgeFlags, int pointerId) {
mDragHelper.captureChildView(mSlideableView, pointerId);
}
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment