diff options
author | Jim Miller <jaggies@google.com> | 2009-09-29 14:16:53 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2009-09-29 14:16:53 -0700 |
commit | 56544d0e9198ab21dabec621cdf419b52b412dac (patch) | |
tree | 91bc5750d9bdfc938c6e35b0d11469ab2b7dfccd /src | |
parent | 7b576e491718e9a6d3f0f66421eddbdfaa853d87 (diff) | |
download | packages_apps_settings-56544d0e9198ab21dabec621cdf419b52b412dac.zip packages_apps_settings-56544d0e9198ab21dabec621cdf419b52b412dac.tar.gz packages_apps_settings-56544d0e9198ab21dabec621cdf419b52b412dac.tar.bz2 |
Fix for 2137900: Be more conservative about poking the wakelock
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/settings/ChooseLockPattern.java | 5 | ||||
-rw-r--r-- | src/com/android/settings/ConfirmLockPattern.java | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/com/android/settings/ChooseLockPattern.java b/src/com/android/settings/ChooseLockPattern.java index d0c3758..f103c6b 100644 --- a/src/com/android/settings/ChooseLockPattern.java +++ b/src/com/android/settings/ChooseLockPattern.java @@ -21,6 +21,7 @@ import com.google.android.collect.Lists; import com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient; import com.android.internal.widget.LockPatternUtils; import com.android.internal.widget.LockPatternView; +import com.android.internal.widget.LockPatternView.Cell; import static com.android.internal.widget.LockPatternView.DisplayMode; import android.app.Activity; @@ -124,6 +125,10 @@ public class ChooseLockPattern extends Activity implements View.OnClickListener{ } } + public void onPatternCellAdded(List<Cell> pattern) { + + } + private void patternInProgress() { mHeaderText.setText(R.string.lockpattern_recording_inprogress); mFooterText.setText(""); diff --git a/src/com/android/settings/ConfirmLockPattern.java b/src/com/android/settings/ConfirmLockPattern.java index 44baccc..a91b45f 100644 --- a/src/com/android/settings/ConfirmLockPattern.java +++ b/src/com/android/settings/ConfirmLockPattern.java @@ -19,6 +19,7 @@ package com.android.settings; import com.android.internal.widget.LockPatternUtils; import com.android.internal.widget.LockPatternView; import com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient; +import com.android.internal.widget.LockPatternView.Cell; import android.app.Activity; import android.content.Intent; @@ -216,6 +217,10 @@ public class ConfirmLockPattern extends Activity { mLockPatternView.removeCallbacks(mClearPatternRunnable); } + public void onPatternCellAdded(List<Cell> pattern) { + + } + public void onPatternDetected(List<LockPatternView.Cell> pattern) { if (mLockPatternUtils.checkPattern(pattern)) { setResult(RESULT_OK); |