summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Sanjana Sunil <sanjanasunil@google.com> 2024-06-06 17:29:13 +0000
committer Sanjana Sunil <sanjanasunil@google.com> 2024-06-13 10:32:35 +0000
commit1e41cea3c7fe1e7dd976a709a5e7ba31352fd09a (patch)
tree0083d0b92d8825b118dfce8791a61f2f3230a2e2 /libs/androidfw/StringPool.cpp
parent15bedcc39855c9159b2b2fde97fba7042076a37a (diff)
Include SDK sandbox process in package uid check
SDK sandbox processes created from the sandbox package do not have the uid of the package - they use a separate uid range instead. WindowManagerService.doesAddToastWindowRequireToken() does not take this into account when run for the sandbox. This causes tests that use this API to fail when run in the sandbox. Instead, use the API PackageManagerService.isSameApp() that takes into account the differences between sandbox package uid and sandbox process uid. Bug: 345469514 Test: atest ToastPresenterTest -- --enable-optional-parameterization --enable-parameterized-modules --module-parameter run_on_sdk_sandbox Change-Id: I72362e635b134ef038a61c09d133551438aa3b86
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions