summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Willie Koomson <wvk@google.com> 2024-12-04 03:09:29 +0000
committer Willie Koomson <wvk@google.com> 2025-01-25 00:32:50 +0000
commit380d8d525047e7e60559a8a4313b1cb9caff5cfd (patch)
tree35075d3d8860e3ff0103d965419a839c51541208 /libs/androidfw/AttributeResolution.cpp
parent9ef0692a504a73b989208bf2a49ddcb82fbde549 (diff)
Delete generated preview file if corrupted
Update AppWidgetServiceImpl so that if it fails to read a generated preview file, the file is deleted and providers are updated. This change also updates the service to keep previews after a provider app updates. Since we now delete previews files if they cannot be read into RemoteViews, we do not need to worry about missing resource IDs after an app update. Bug: 364420494 Test: atest CtsAppWidgetHostTestCases Flag: android.appwidget.flags.remote_views_proto Change-Id: I7f4a8aa6c73471c176aa75f2e47627ad8574ce3a
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions