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

Commit f24cca08 authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-merger
Browse files

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

am: 9aab7ae1

Change-Id: I0bf798bc8443d23455570b63ec6478a83f4ce34b
parents 5ec35e97 9aab7ae1
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;