diff options
author | 2024-09-19 11:59:27 -0700 | |
---|---|---|
committer | 2024-12-12 17:47:12 -0800 | |
commit | 14d462f7d4272c5d5a1cbb9110dfc07b0742647b (patch) | |
tree | 39d988feeec66b6c79ae9b34bc6f5a794b91a742 /packages/Shell | |
parent | 75d3ee72e32f0ff678c12f42035b5a25cacc3a82 (diff) |
Introduce a new API to fetch contentProviders based on callingUid
This API will take a caller's UID to fetch content providers available
to it. This will be used to prevent cross user access to content
providers.
Bug: 334024639
Test: atest CtsContentProviderMultiUserTest
Flag: android.content.pm.uid_based_provider_lookup
Change-Id: I430d87629a198a3e9dfe19f6ae1b7e01d4005e6d
Diffstat (limited to 'packages/Shell')
-rw-r--r-- | packages/Shell/AndroidManifest.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index fb4293a9b5ea..46bd88fcdc93 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -994,6 +994,9 @@ <uses-permission android:name="android.permission.ACCESS_TEXT_CLASSIFIER_BY_TYPE" android:featureFlag="android.permission.flags.text_classifier_choice_api_enabled"/> + <!-- Permission required for CTS test - CtsContentProviderMultiUserTest --> + <uses-permission android:name="android.permission.RESOLVE_COMPONENT_FOR_UID" /> + <application android:label="@string/app_label" android:theme="@android:style/Theme.DeviceDefault.DayNight" |