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

Commit 9aab7ae1 authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Revert "Release bitmap reference right after Per85ComputeTask done its job."" into qt-dev

parents 853cf287 f0446880
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -85,9 +85,7 @@ class ImageProcessHelper {
            Bitmap bitmap = bitmaps[0];
            if (bitmap != null) {
                int[] histogram = processHistogram(bitmap);
                Float val = computePercentile85(bitmap, histogram);
                bitmaps[0] = null;
                return val;
                return computePercentile85(bitmap, histogram);
            }
            Log.e(TAG, "Per85ComputeTask: Can't get bitmap");
            return DEFAULT_PER85;