diff options
| author | 2023-10-20 19:05:53 +0000 | |
|---|---|---|
| committer | 2023-10-20 23:41:47 +0000 | |
| commit | df3af7fdd097cdff925e5b86d501868a7f13ddc0 (patch) | |
| tree | 38a5e49d91cd8b5c5271c7f1de64b141f090ba00 /libs/androidfw/FileStream.cpp | |
| parent | c164793053bca2f15758521ea25e6b6bfe02ebde (diff) | |
Resize large app icons before adding them in a parcel
If an app icon is too large, scale the icon down so that it can be
parcelled and sent in an intent.
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:2fc482f6fd8ba4217a4f9c956dfdb45c6494974e)
Merged-In: I5feafea491208c8fd6bbdc6b2b655d46b6964d95
Change-Id: I5feafea491208c8fd6bbdc6b2b655d46b6964d95
Original patch:
From 2fc482f6fd8ba4217a4f9c956dfdb45c6494974e Mon Sep 17 00:00:00 2001
From: Sumedh Sen <sumedhsen@google.com>
Date: Wed, 11 Oct 2023 12:19:50 -0700
Subject: [PATCH] Resize large app icons before adding them in a parcel
If an app icon is too large, scale the icon down so that it can be
parcelled and sent in an intent.
Bug: 290862169
Bug: 304567418
Test: Manual. Install the APK attached in b/290862169#comment18
Change-Id: I5feafea491208c8fd6bbdc6b2b655d46b6964d95
---
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions