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

Commit 3f48207e authored by Santosh Madhava's avatar Santosh Madhava
Browse files

Cleanup for issue 3471160 : video editor calls System.gc

Change-Id: I8cdebde25a45767a1c1b9b6c2c59b7e65cacc0bd
parent 3b36ff48
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();
    }

    /*