Skip to content

Commit

Permalink
Remove some log spam.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisboyle committed Nov 29, 2014
1 parent 78f89f7 commit 0053230
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/src/main/java/name/boyle/chris/sgtpuzzles/GameView.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import android.support.v4.widget.ScrollerCompat;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.GestureDetector;
import android.view.HapticFeedbackConstants;
import android.view.KeyEvent;
Expand Down Expand Up @@ -380,7 +379,6 @@ private boolean checkPinchZoom(MotionEvent event) {

private final Runnable sendLongPress = new Runnable() {
public void run() {
Log.d(GamePlay.TAG, "sendLongPress");
if (hasPinchZoom && isScaleInProgress()) return;
button = RIGHT_BUTTON;
touchState = TouchState.DRAGGING;
Expand Down Expand Up @@ -416,7 +414,6 @@ public boolean onTouchEvent(@NonNull MotionEvent event)
}
float x = event.getX(), y = event.getY();
if (touchState == TouchState.WAITING_LONG_PRESS && movedPastTouchSlop(x, y)) {
Log.d(GamePlay.TAG, "drag start");
parent.handler.removeCallbacks(sendLongPress);
if (dragMode == DragMode.PREVENT) {
touchState = TouchState.IDLE;
Expand Down

0 comments on commit 0053230

Please sign in to comment.