diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-06-10 03:53:22 +0400 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.cyanogenmod.com> | 2012-06-10 03:53:22 +0400 |
commit | c92309145e3335a9becfcc7a28747641553d727d (patch) | |
tree | 9d827247da1041aba38091a0a7ab158a7e910898 /packages | |
parent | 4818c3ac8638f170f23a393c8dd51a519a637948 (diff) | |
parent | 9012b46f0e96bef5e9b07410d5f6885f16b1a3be (diff) | |
download | frameworks_base-c92309145e3335a9becfcc7a28747641553d727d.zip frameworks_base-c92309145e3335a9becfcc7a28747641553d727d.tar.gz frameworks_base-c92309145e3335a9becfcc7a28747641553d727d.tar.bz2 |
Merge "Status bar: Make brightness control more responsive" into ics
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 761808c..8708104 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -1610,8 +1610,6 @@ public class PhoneStatusBar extends StatusBar { } else { mLinger++; } - } else { - mLinger = 0; } } } else { @@ -1620,6 +1618,7 @@ public class PhoneStatusBar extends StatusBar { } } else if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { + mLinger = 0; mVelocityTracker.computeCurrentVelocity(1000); float yVel = mVelocityTracker.getYVelocity(); |