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

Commit b07685f2 authored by James Lemieux's avatar James Lemieux
Browse files

Avoid NPE when stopping the DeskClock drop shadow controller

Bug: 32194542
Change-Id: I14a1aa19fa571370d82d47c3b1d6736e9c076423
parent 9794d446
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -370,8 +370,10 @@ public class DeskClock extends BaseActivity

    @Override
    public void onPause() {
        if (mDropShadowController != null) {
            mDropShadowController.stop();
            mDropShadowController = null;
        }

        super.onPause();
    }