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

Commit a8833510 authored by Mady Mellor's avatar Mady Mellor
Browse files

Fix touching gear on lock screen

The header wasn't taking into account the translation of the view
this CL alter so that it accounts for the translation.

Bug: 27484957
Change-Id: I19df138ae46a33863863821b8723cb57dc849454
parent 391517e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1349,7 +1349,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
        float y = event.getY();
        float y = event.getY();
        NotificationHeaderView header = getVisibleNotificationHeader();
        NotificationHeaderView header = getVisibleNotificationHeader();
        if (header != null) {
        if (header != null) {
            return header.isInTouchRect(x, y);
            return header.isInTouchRect(x - getTranslation(), y);
        }
        }
        return super.disallowSingleClick(event);
        return super.disallowSingleClick(event);
    }
    }