Merge "Fix parenthesis to prevent hidden feedback icon from calling click listener"
This commit is contained in:
committed by
Android (Google) Code Review
commit
5a375eeb48
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user