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

Commit 11b7a381 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Fix crash in ActivatableNotificationView."

parents 26ecbefe bccb9123
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -175,8 +175,10 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView
    private void makeInactive() {
        if (mActivated) {
            // Make sure that we clear the hotspot from the center.
            if (mBackgroundDimmed != null) {
                mBackgroundDimmed.setHotspot(0, getWidth() / 2, getActualHeight() / 2);
                mBackgroundDimmed.removeHotspot(0);
            }
            mActivated = false;
        }
        if (mOnActivatedListener != null) {