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

Commit b884d90e authored by Justin Weir's avatar Justin Weir
Browse files

Fix NPE

Fixes: 296380464
Test: N/A
Change-Id: Icfacdc1dfb85de14bb207abf0e30823c4727c0e2
parent 49f82e12
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -763,7 +763,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, Dump
     * Sets the amount of vertical over scroll that should be performed on the notifications scrim.
     * Sets the amount of vertical over scroll that should be performed on the notifications scrim.
     */
     */
    public void setNotificationsOverScrollAmount(int overScrollAmount) {
    public void setNotificationsOverScrollAmount(int overScrollAmount) {
        mNotificationsScrim.setTranslationY(overScrollAmount);
        if (mNotificationsScrim != null) mNotificationsScrim.setTranslationY(overScrollAmount);
    }
    }


    /**
    /**