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

Commit 6940df32 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix notifications accepting touches outside their bounds" into tm-dev...

Merge "Fix notifications accepting touches outside their bounds" into tm-dev am: 0a9cb9b4 am: 38615a5a am: 9b30627a am: a87f2d59

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18456315



Change-Id: I95e7638c45744286e8262a3f539a5d739070e189
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 12087763 a87f2d59
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ public abstract class ExpandableView extends FrameLayout implements Dumpable {

    @Override
    public boolean pointInView(float localX, float localY, float slop) {
        float top = mClipTopAmount;
        float top = Math.max(0, mClipTopAmount);
        float bottom = mActualHeight;
        return localX >= -slop && localY >= top - slop && localX < ((mRight - mLeft) + slop) &&
                localY < (bottom + slop);