Files
frameworks_base/data/etc/com.android.intentresolver.xml
Himanshu Gupta 9a3accfd38 Adding permissions to Unbundled IntentResolver.
This change adds 'QUERY_CLONED_APPS' permission
to unbundled sharesheet, allowing it to query
cloned apps.

Test: Manually triggering unbundled sharesheet.
Bug: 273294251
Change-Id: I24d2ca57c8ea4c41d151197f85901a520845e86e
2023-03-13 17:32:56 +00:00

25 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<permissions>
<privapp-permissions package="com.android.intentresolver">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
<permission name="android.permission.QUERY_CLONED_APPS"/>
</privapp-permissions>
</permissions>