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

Skip to content
Commit 99396a46 authored by Sumedh Sen's avatar Sumedh Sen Committed by Song Chun Fan
Browse files

Recycle the original bitmap after scaling down

This will free the memory used by the original bitmap

Bug: 290862169
Bug: 304567418
Test: Manual. Install the APK attached in b/290862169#comment18
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:74d9576bec1fd0f0ef25936eb672b9e733b0e3e7)
Merged-In: I94f5a9a4313c13375062fdade0e672d51eb5dc55
Change-Id: I94f5a9a4313c13375062fdade0e672d51eb5dc55

NOTE FOR REVIEWERS - errors occurred while applying the patch.
PLEASE REVIEW CAREFULLY.
Errors:
Error applying patch in packages/PackageInstaller/src/com/android/packageinstaller/PackageUtil.java, hunk HunkHeader[172,7->172,7]: Hunk cannot be applied

Original patch:
 From 74d9576b Mon Sep 17 00:00:00 2001
From: Sumedh Sen <sumedhsen@google.com>
Date: Thu, 12 Oct 2023 10:13:35 -0700
Subject: [PATCH] Recycle the original bitmap after scaling down

This will free the memory used by the original bitmap

Bug: 290862169
Bug: 304567418
Test: Manual. Install the APK attached in b/290862169#comment18
Change-Id: I94f5a9a4313c13375062fdade0e672d51eb5dc55
---
parent df3af7fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment