diff options
| author | 2025-01-17 15:16:13 -0800 | |
|---|---|---|
| committer | 2025-01-27 16:02:36 -0800 | |
| commit | 85985722a6e7b3eee16be2e66e170f83f37f6561 (patch) | |
| tree | e883c93cedf8e5762e0c9f2ae79b753d3b5e0a9a /libs/androidfw/misc.cpp | |
| parent | 7abe1254e05d6b514144060c030f8ba73a955780 (diff) | |
RemoteViews - Always load new ApplicationInfo from PackageManager.
Always load ApplicationInfo object needed for RemoteViews Contexts directly
from PackageManager. The key used is the package name.
Previously this object was read from the RemoteViews bundle, which was
provided by the Widget providing app, and this object could not be relied
on to have accurate data fields.
Bug: 376028556
Flag: EXEMPT Security Fix
Test: atest CtsWidgetTestCases:RemoteViewsActivityTest#testApplicationInfo
Change-Id: Ie263b51fd2c2bdbf9d622533bb3f77d9f3f7181e
(cherry picked from commit 352fb4821076f0209ab2092d53444503dcec8992)
Merged-In: Ie263b51fd2c2bdbf9d622533bb3f77d9f3f7181e
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions