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

Commit bccb9123 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix crash in ActivatableNotificationView.

Change-Id: Ifc431333bcf0b0d2ade81730c9ffc935218e5cc0
parent 7359b0b8
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -174,8 +174,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) {