Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9230914 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "Status bar: Make brightness control more responsive" into ics

parents 4818c3ac 9012b46f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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();