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

Commit bba9529d authored by Santosh Madhava's avatar Santosh Madhava Committed by Android (Google) Code Review
Browse files

Merge "Cleanup for issue 3471160 : video editor calls System.gc"

parents 87e639bc 3f48207e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3807,7 +3807,6 @@ class MediaArtistNativeHelper {
        } catch (Throwable e) {
            // Allocating to new size with Fixed count
            try {
                System.gc();
                rgb888 = new int[thumbnailSize * MAX_THUMBNAIL_PERMITTED];
                bitmaps = new Bitmap[MAX_THUMBNAIL_PERMITTED];
                thumbnailCount = MAX_THUMBNAIL_PERMITTED;
+0 −1
Original line number Diff line number Diff line
@@ -197,7 +197,6 @@ public class MediaImageItem extends MediaItem {
            fl.close();
        }
        imageBitmap.recycle();
        System.gc();
    }

    /*