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

Commit 3287e07e authored by David van Tonder's avatar David van Tonder Committed by Gerrit Code Review
Browse files

Merge "Fix NPE." into cm-10.2

parents 4642f793 d38b97d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -341,7 +341,7 @@ public class LockscreenTargets extends Fragment implements

        inactiveLayer.setDrawableByLayerId(1, drawable);

        if (GlowPadView.ICON_RESOURCE.equals(iconType)) {
        if (GlowPadView.ICON_RESOURCE.equals(iconType) && iconSource != null) {
            InsetDrawable empty = new InsetDrawable(
                    mResources.getDrawable(android.R.color.transparent), 0, 0, 0, 0);
            activeLayer.setDrawableByLayerId(1, empty);