Fix lint warnings

This commit is contained in:
Fredrik Fornwall
2015-12-23 01:12:47 +01:00
parent 4de0f98fa4
commit 9d37461ac7
3 changed files with 5 additions and 6 deletions

View File

@@ -138,11 +138,11 @@ public class DrawerLayout extends ViewGroup {
private final ChildAccessibilityDelegate mChildAccessibilityDelegate = new ChildAccessibilityDelegate();
private int mMinDrawerMargin;
private final int mMinDrawerMargin;
private int mScrimColor = DEFAULT_SCRIM_COLOR;
private float mScrimOpacity;
private Paint mScrimPaint = new Paint();
private final Paint mScrimPaint = new Paint();
private final ViewDragHelper mLeftDragger;
private final ViewDragHelper mRightDragger;

View File

@@ -57,7 +57,7 @@ public class ViewDragHelper {
/**
* Edge flag indicating that the left edge should be affected.
*/
public static final int EDGE_LEFT = 1 << 0;
public static final int EDGE_LEFT = 1 /*1 << 0*/;
/**
* Edge flag indicating that the right edge should be affected.
@@ -82,7 +82,7 @@ public class ViewDragHelper {
/**
* Indicates that a check should occur along the horizontal axis
*/
public static final int DIRECTION_HORIZONTAL = 1 << 0;
public static final int DIRECTION_HORIZONTAL = 1 /*1 << 0*/;
/**
* Indicates that a check should occur along the vertical axis