diff options
| author | 2024-09-19 11:57:12 -0700 | |
|---|---|---|
| committer | 2025-01-08 10:49:04 -0800 | |
| commit | 52f5366c68990729ac9af3ca767f6a9a87e5a55b (patch) | |
| tree | 4eb3b672dfc7a645c5f196cc00290591ca24201a /libs/androidfw/AssetsProvider.cpp | |
| parent | 52aaa406138c69161f64a576583290cd91697c4d (diff) | |
[RESTRICT AUTOMERGE] Parse authority to separate userId and non-user parts of it
Callers may pass an authority of type `10@com.example` to this API. We
must make sure to only find providers with authority `com.example` installed in user 10.
Bug: 350456241
Test: sts-tradefed run sts-dynamic-develop -m CtsSecurityTestCases -t android.security.cts.ContentProviderMultiUserTests#testAccessFromInitialUser --user-type PRIMARY
Test: sts-tradefed run sts-dynamic-develop -m CtsSecurityTestCases -t android.security.cts.ContentProviderMultiUserTests --user-type SECONDARY
Flag: EXEMPT. Bug fix only
Change-Id: I737a435795698bdc612dc3bf88c31e5c8f9c17a6
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions