summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Pinyao Ting <pinyaoting@google.com> 2025-01-16 10:21:22 -0800
committer Pinyao Ting <pinyaoting@google.com> 2025-01-16 10:21:22 -0800
commit2a375d07c946d458accf9ea3816aafa010d112c1 (patch)
tree13ff1c9f244f32536d3da85e551a6e422f3ef0b5 /libs/androidfw/ResourceTimer.cpp
parent26c34fed5a7212d64620047b38081b4d62f3ddf0 (diff)
Prevent unintentional removal of widgets pinned by another host
appWidgetIds are only unique within the same user, which could lead to overlaps in HSUM. This CL prevents a host from accessing widgets hosted by an entirely different package. (A host can still access widgets hosted by the same package but running in different user if it has interact across users permission) Bug: 386303131 Test: atest BackgroundActivityLaunchTest#testAppWidgetConfigNoBalBypass Test: atest CtsAppWidgetTestCases Flag: EXEMPT bugfix Change-Id: I04e9a6b6b092aebae20b79eacfeb680088565e70
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions