diff options
| author | 2023-10-20 19:05:59 +0000 | |
|---|---|---|
| committer | 2023-10-20 23:42:25 +0000 | |
| commit | 99396a461bc1d73cbcf6d9b12f3b37af76dc5b95 (patch) | |
| tree | 1caa0e0a43d47d95600914bb028d7bb1e3052602 /libs/androidfw/FileStream.cpp | |
| parent | df3af7fdd097cdff925e5b86d501868a7f13ddc0 (diff) | |
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 74d9576bec1fd0f0ef25936eb672b9e733b0e3e7 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
---
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions