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

Commit e34c6513 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a NPE during setup wizard

The heightChangedListener might not be set.

Bug: 17000238
Change-Id: I3e930d22eeaeea5984c089d3f76c91997e4a2b01
parent f645761f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -256,8 +256,10 @@ public abstract class ExpandableView extends FrameLayout {
    }

    public void reset() {
        if (mOnHeightChangedListener != null) {
            mOnHeightChangedListener.onReset(this);
        }
    }

    /**
     * A listener notifying when {@link #getActualHeight} changes.