OSDN Git Service

Revert "unlock screen: enable DEBUG and track pattern start/cell progress."
authorJP Abgrall <jpa@google.com>
Wed, 16 May 2012 17:43:37 +0000 (10:43 -0700)
committerJP Abgrall <jpa@google.com>
Wed, 16 May 2012 17:44:10 +0000 (10:44 -0700)
This reverts commit e94d763f69bdc80d1ec1d7c3dd258c4e10206a5b.

Get rid of the debugging for the release.

policy/src/com/android/internal/policy/impl/PatternUnlockScreen.java

index 17e671d..9a6d2cc 100644 (file)
@@ -41,7 +41,7 @@ import java.util.List;
 class PatternUnlockScreen extends LinearLayoutWithDefaultTouchRecepient
         implements KeyguardScreen {
 
-    private static final boolean DEBUG = true; /* TODO: revert before JB release */
+    private static final boolean DEBUG = false;
     private static final String TAG = "UnlockScreen";
 
     // how long before we clear the wrong pattern
@@ -321,7 +321,6 @@ class PatternUnlockScreen extends LinearLayoutWithDefaultTouchRecepient
             implements LockPatternView.OnPatternListener {
 
         public void onPatternStart() {
-            if (DEBUG) Log.d(TAG, "Got pattern start");
             mLockPatternView.removeCallbacks(mCancelPatternRunnable);
         }
 
@@ -337,7 +336,6 @@ class PatternUnlockScreen extends LinearLayoutWithDefaultTouchRecepient
                 // Give just a little extra time if they hit one of the first few dots
                 mCallback.pokeWakelock(UNLOCK_PATTERN_WAKE_INTERVAL_FIRST_DOTS_MS);
             }
-            if (DEBUG) Log.d(TAG, "Got pattern cell");
         }
 
         public void onPatternDetected(List<LockPatternView.Cell> pattern) {