diff options
author | Jorim Jaggi <jjaggi@google.com> | 2014-07-03 23:25:44 +0200 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2014-07-04 03:00:29 +0200 |
commit | b690f0d5023fcf144f2701058d5a6f88d66cc97a (patch) | |
tree | 7bf8c478f0171edfd7836433b757ad65ba4b83ed /packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java | |
parent | e05a56bf9386e2e0c6a862c3080698da8367a22e (diff) | |
download | frameworks_base-b690f0d5023fcf144f2701058d5a6f88d66cc97a.zip frameworks_base-b690f0d5023fcf144f2701058d5a6f88d66cc97a.tar.gz frameworks_base-b690f0d5023fcf144f2701058d5a6f88d66cc97a.tar.bz2 |
Clean up user activity handling
- Only call userActivity in down touch event
- Use normal timeout when QS is open
- Clean up old code regarding user activity in Keyguard
Change-Id: I968eeed33fef44def37b68eb1ddc63f1a531ab35
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java')
-rw-r--r-- | packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java index c49c318..2c9247a 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java @@ -152,7 +152,7 @@ public abstract class KeyguardAbsKeyInputView extends LinearLayout @Override public boolean onKeyDown(int keyCode, KeyEvent event) { - mCallback.userActivity(0); + mCallback.userActivity(); return false; } |