1<?xml version='1.0' encoding='utf-8' standalone='yes' ?> 2 3<!-- Copyright (C) 2019 Google Inc. 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 18<!-- 19 This file contains permissions to be granted by default. Default 20 permissions are granted to special platform components and to apps 21 that are approved to get default grants. The special components 22 are apps that are expected tto work out-of-the-box as they provide 23 core use cases such as default dialer, default email, etc. These 24 grants are managed by the platform. The apps that are additionally 25 approved for default grants are ones that provide carrier specific 26 functionality, ones legally required at some location, ones providing 27 alternative disclosure and opt-out UI, ones providing highlight features 28 of a dedicated device, etc. This file contains only the latter exceptions. 29 Fixed permissions cannot be controlled by the user and need a special 30 approval. Typically these are to ensure either legally mandated functions 31 or the app is considered a part of the OS. 32--> 33 34<exceptions> 35 36 <!-- This is an example of an exception: 37 <exception 38 package="foo.bar.permission" 39 <permission name="android.permission.READ_CONTACTS" fixed="true"/> 40 <permission name="android.permission.READ_CALENDAR" fixed="false"/> 41 </exception> 42 --> 43 44 <exception package="com.google.android.settings.intelligence"> 45 <!-- Calendar --> 46 <permission name="android.permission.READ_CALENDAR" fixed="true"/> 47 <!-- Location --> 48 <permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/> 49 <permission name="android.permission.ACCESS_BACKGROUND_LOCATION" fixed="false"/> 50 <!-- Battery Widget --> 51 <permission name="android.permission.BLUETOOTH_CONNECT" fixed="false"/> 52 </exception> 53 54 <exception package="com.google.android.GoogleCamera"> 55 <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/> 56 </exception> 57 58 <exception package="com.google.android.apps.camera.services"> 59 <!-- Camera --> 60 <permission name="android.permission.CAMERA" fixed="false"/> 61 <!-- Camera Connectivity --> 62 <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/> 63 <permission name="android.permission.BLUETOOTH_CONNECT" fixed="false"/> 64 <permission name="android.permission.BLUETOOTH_SCAN" fixed="false"/> 65 </exception> 66 67 <exception package="com.google.android.apps.cbrsnetworkmonitor"> 68 <!-- Location access to create CBRS geofences--> 69 <permission name="android.permission.ACCESS_FINE_LOCATION" fixed="true"/> 70 <permission name="android.permission.ACCESS_BACKGROUND_LOCATION" fixed="true"/> 71 </exception> 72 73 <exception package="com.google.android.apps.scone"> 74 <!-- NLP Location access to determine proximity to country border --> 75 <permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/> 76 <permission name="android.permission.ACCESS_BACKGROUND_LOCATION" fixed="false"/> 77 <!-- Used to call ActivityTransition API for Smart PNO --> 78 <permission name="android.permission.ACTIVITY_RECOGNITION" fixed="false"/> 79 <!-- Notifications --> 80 <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/> 81 <!-- Used by Bluetooth Module to collect bluetooth info --> 82 <permission name="android.permission.BLUETOOTH_CONNECT" fixed="false"/> 83 </exception> 84 85 <exception package="com.google.android.apps.setupwizard.searchselector"> 86 <!-- Notifications --> 87 <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/> 88 </exception> 89 90 <exception 91 package="com.google.android.apps.restore"> 92 <!-- External storage --> 93 <permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/> 94 <permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/> 95 <!-- Contacts --> 96 <permission name="android.permission.READ_CONTACTS" fixed="false"/> 97 <permission name="android.permission.WRITE_CONTACTS" fixed="false"/> 98 <!-- Call logs --> 99 <permission name="android.permission.READ_CALL_LOG" fixed="false"/> 100 <permission name="android.permission.WRITE_CALL_LOG" fixed="false"/> 101 <!-- Used to set up a Wi-Fi P2P network --> 102 <permission name="android.permission.NEARBY_WIFI_DEVICES" fixed="false"/> 103 <!-- Notifications --> 104 <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/> 105 </exception> 106 107 <exception 108 package="com.verizon.mips.services"> 109 <!-- Call --> 110 <permission name="android.permission.PROCESS_OUTGOING_CALLS" fixed="false"/> 111 <!-- Phone --> 112 <permission name="android.permission.READ_PHONE_STATE" fixed="false"/> 113 <!-- SMS --> 114 <permission name="android.permission.RECEIVE_SMS" fixed="false"/> 115 </exception> 116 117 <exception 118 package="com.google.android.factorytest"> 119 <!-- Camera --> 120 <permission name="android.permission.CAMERA" fixed="false"/> 121 <!-- Microphone --> 122 <permission name="android.permission.RECORD_AUDIO" fixed="false"/> 123 <!-- Storage --> 124 <permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/> 125 <permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/> 126 </exception> 127 128 <exception package="com.google.android.wfcactivation"> 129 <!-- SMS --> 130 <permission name="android.permission.RECEIVE_WAP_PUSH" fixed="false"/> 131 <!-- Notifications --> 132 <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/> 133 </exception> 134 135 <exception package="com.google.android.apps.accessibility.voiceaccess"> 136 <!-- Voice Access: A11y app to allow users to setup & control their devices with voice --> 137 <!-- Approved android bug for pregrant permissions: b/182307492 --> 138 139 <!-- Phone state to turn off Voice Access when user is in a phone call --> 140 <permission name="android.permission.READ_PHONE_STATE" fixed="false"/> 141 142 <!-- Microphone: To hear user's voice commands --> 143 <permission name="android.permission.RECORD_AUDIO" fixed="false"/> 144 </exception> 145 <exception 146 package="com.google.android.deskclock"> 147 <!-- Notifications --> 148 <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/> 149 </exception> 150 <exception 151 package="com.google.android.apps.tips"> 152 <!-- Notifications --> 153 <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/> 154 </exception> 155 <exception 156 package="com.google.android.apps.work.oobconfig"> 157 <!-- Notifications --> 158 <permission name="android.permission.POST_NOTIFICATIONS" fixed="true"/> 159 </exception> 160 <exception 161 package="com.google.android.apps.turbo"> 162 <!-- Notifications --> 163 <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/> 164 </exception> 165 <exception 166 package="com.google.android.euicc"> 167 <!-- Notifications --> 168 <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/> 169 </exception> 170</exceptions> 171 172