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

Commit 77852d34 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Gallery2: fix a crash caused by NullPointerException."

parents 14566e34 8be9b08d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -201,6 +201,7 @@ public class TimeLineSlotRenderer extends AbstractSlotRenderer {

        TimeLineSlidingWindow.AlbumEntry entry = mDataWindow.get(index);
        int renderRequestFlags = 0;
        if (entry != null) {
            Texture content = checkContentTexture(entry.content);
            if (content == null) {
                content = mWaitLoadingTexture;
@@ -221,7 +222,7 @@ public class TimeLineSlotRenderer extends AbstractSlotRenderer {
            }

            renderRequestFlags |= renderOverlay(canvas, index, entry, width, height);

        }
        return renderRequestFlags;
    }
}