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

Commit a7415dd9 authored by nicolasroard's avatar nicolasroard
Browse files

Fix crash for svelte

bug:10526507
Change-Id: Ifc22bee4af446b09449ee64d137b93573f47025a
parent e40690d7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -388,6 +388,9 @@ public class MasterImage implements RenderingRequestCaller {

    public void onNewLook(FilterRepresentation newRepresentation) {
        getBitmapCache().cache(mPreviousImage);
        if (getFilteredImage() == null) {
            return;
        }
        mPreviousImage = getBitmapCache().getBitmapCopy(getFilteredImage());
        ValueAnimator animator = null;
        if (newRepresentation instanceof FilterUserPresetRepresentation) {