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

Commit 205a0901 authored by John Hoford's avatar John Hoford
Browse files

fix calling Allocation.copyFrom without context

bug:8526929
Change-Id: I407539fae153642ea9be46a2f4102ab827e24164
parent 7bf0f568
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -393,7 +393,9 @@ public class CachingPipeline {
                    mOutPixelsAllocation.getType());
            needsUpdate = true;
        }
        if (RS != null) {
            mInPixelsAllocation.copyFrom(bitmap);
        }
        if (bitmap.getWidth() != mWidth
                || bitmap.getHeight() != mHeight) {
            mWidth = bitmap.getWidth();