diff options
| author | 2025-01-23 03:23:34 +0000 | |
|---|---|---|
| committer | 2025-01-25 00:32:50 +0000 | |
| commit | 7a05fd789e4f5076ea8b7ebd955957082bcd82b6 (patch) | |
| tree | 1f504cbd734c5ae4e2ccdcb294da7e7fc7b2bd49 /libs/androidfw/misc.cpp | |
| parent | 380d8d525047e7e60559a8a4313b1cb9caff5cfd (diff) | |
Write UID in RemoteViews proto
Adds UID to the RemoteViews proto, and uses
PackageManager.getApplicationInfoAsUser instead. This ensures the
RemoteViews is deserialized to the same user's ApplicationInfo as
it was serialized to.
Bug: 364420494
Test: RemoteViewsSerializersTest
Flag: android.appwidget.flags.remote_views_proto
Change-Id: Id44175b526532d5feb4ce54a18eb82776b5fe8db
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions