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

Commit d60090dd authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Fix identation for switch statement.

Presubmit hooks for repo are currently failing
due to the identation of the body of the switch
statement. Fix this spacing issue here.

Test: None
Change-Id: If96914a9f7345212077215502c5bf537f36e695f
parent d87c6b51
Loading
Loading
Loading
Loading
+145 −144
Original line number Diff line number Diff line
@@ -557,8 +557,9 @@ public class GestureDetector {
                if (mDoubleTapListener != null) {
                    boolean hadTapMessage = mHandler.hasMessages(TAP);
                    if (hadTapMessage) mHandler.removeMessages(TAP);
                if ((mCurrentDownEvent != null) && (mPreviousUpEvent != null) && hadTapMessage &&
                        isConsideredDoubleTap(mCurrentDownEvent, mPreviousUpEvent, ev)) {
                    if ((mCurrentDownEvent != null) && (mPreviousUpEvent != null)
                            && hadTapMessage
                            && isConsideredDoubleTap(mCurrentDownEvent, mPreviousUpEvent, ev)) {
                        // This is a second tap
                        mIsDoubleTapping = true;
                        // Give a callback with the first tap of the double-tap