Skip to content

Commit 35aefcf

Browse files
author
jfeinstein10
committed
Remove warning
1 parent 945832c commit 35aefcf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

library/src/com/slidingmenu/lib/CustomViewAbove.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,9 @@ public boolean onInterceptTouchEvent(MotionEvent ev) {
618618

619619
final int action = ev.getAction() & MotionEventCompat.ACTION_MASK;
620620

621-
if (action == MotionEvent.ACTION_DOWN && DEBUG)
622-
Log.v(TAG, "Received ACTION_DOWN");
621+
if (DEBUG)
622+
if (action == MotionEvent.ACTION_DOWN)
623+
Log.v(TAG, "Received ACTION_DOWN");
623624

624625
if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP
625626
|| (action != MotionEvent.ACTION_DOWN && mIsUnableToDrag)) {

0 commit comments

Comments
 (0)