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

Commit c98c502f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Close HardwareBuffer after wrapping it with a bitmap"

parents b1866650 9d3cef60
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -80,6 +80,7 @@ public abstract class ContentSuggestionsService extends Service {
                        colorSpace = ColorSpace.get(ColorSpace.Named.values()[colorSpaceId]);
                    }
                    wrappedBuffer = Bitmap.wrapHardwareBuffer(contextImage, colorSpace);
                    contextImage.close();
                }
            }