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

Commit c16b3070 authored by Alex Mang's avatar Alex Mang
Browse files

Fix parenthesis to prevent hidden feedback icon from calling click

listener

Bug: 165338901
Test: manually on device
Change-Id: I09c022e3ad86485f249874892b7bc4996405f5e1
parent 245a8aa1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -456,8 +456,8 @@ public class NotificationHeaderView extends ViewGroup {
                case MotionEvent.ACTION_UP:
                    if (mTrackGesture) {
                        if (mFeedbackIcon.isVisibleToUser()
                                && (mFeedbackRect.contains((int) x, (int) y))
                                || mFeedbackRect.contains((int) mDownX, (int) mDownY)) {
                                && (mFeedbackRect.contains((int) x, (int) y)
                                || mFeedbackRect.contains((int) mDownX, (int) mDownY))) {
                            mFeedbackIcon.performClick();
                            return true;
                        }