1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2022 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17<permissions> 18 <privapp-permissions package="com.android.providers.media.module"> 19 <permission name="android.permission.INTERACT_ACROSS_USERS"/> 20 <permission name="android.permission.MANAGE_USERS"/> 21 <permission name="android.permission.USE_RESERVED_DISK"/> 22 <permission name="android.permission.WRITE_MEDIA_STORAGE"/> 23 <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/> 24 <permission name="android.permission.WATCH_APPOPS"/> 25 <permission name="android.permission.UPDATE_APP_OPS_STATS"/> 26 <permission name="android.permission.UPDATE_DEVICE_STATS"/> 27 <!-- Permissions required for reading and logging compat changes --> 28 <permission name="android.permission.LOG_COMPAT_CHANGE" /> 29 <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" /> 30 <permission name="android.permission.REGISTER_STATS_PULL_ATOM" /> 31 <!-- Permissions required for reading DeviceConfig --> 32 <permission name="android.permission.READ_DEVICE_CONFIG" /> 33 <permission name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"/> 34 <permission name="android.permission.MODIFY_QUIET_MODE"/> 35 <!-- Permissions required to check if an app is in the foreground or not during IO --> 36 <permission name="android.permission.PACKAGE_USAGE_STATS"/> 37 </privapp-permissions> 38</permissions>