1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2014 The Android Open Source Project
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
17 <!-- These are configurations that must exist on all GMS devices. -->
19 <!-- These are the standard packages that are white-listed to always have internet
20 access while in power save mode, even if they aren't in the foreground. -->
22 <!-- GmsCore must always have network access for GCM and other things. -->
23 <allow-in-power-save package="com.google.android.gms" />
24 <allow-in-data-usage-save package="com.google.android.gms" />
25 <allow-unthrottled-location package="com.google.android.gms" />
27 <!-- OobConfig must always have network access to fetch enterprise and carrier lock config. -->
28 <allow-in-power-save-except-idle package="com.google.android.apps.work.oobconfig" />
29 <allow-in-data-usage-save package="com.google.android.apps.work.oobconfig" />
31 <!-- Turbo must not have App Standby restrictions in order to push new
32 App Standby buckets to the platform periodically -->
33 <allow-in-power-save-except-idle package="com.google.android.apps.turbo" />
35 <!-- Certain broadcasts must still go to legacy implicit receivers -->
36 <allow-implicit-broadcast action="com.google.android.checkin.CHECKIN_COMPLETE" />
37 <allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_CHANGED" />
38 <allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_OVERRIDE" />
39 <allow-implicit-broadcast action="com.google.android.c2dm.intent.RECEIVE" />
40 <!-- TODO: This is a temporary workaround for allowing GmsCore to receive this broadcast.
41 This can be removed once OneTimeInitializer functionality is moved to GmsCore. -->
42 <allow-implicit-broadcast action="com.google.android.onetimeinitializer.ONE_TIME_INITIALIZED" />
44 <!-- Play Store likewise must have network access to support other applications. -->
45 <allow-in-power-save-except-idle package="com.android.vending" />
47 <!-- If the volta app is pre-installed (for monitoring power use), let it do checkins. -->
48 <allow-in-power-save package="com.google.android.volta" />
50 <!-- If CarrierServices is installed, it must always have network access to
51 reliably receive IMS messages. -->
52 <allow-in-power-save package="com.google.android.ims" />
53 <allow-in-data-usage-save package="com.google.android.ims" />
55 <!-- These Google applications all handle URLs to their websites by default -->
57 <!-- Apps below are required on all GMS devices -->
58 <app-link package="com.android.vending" />
59 <app-link package="com.google.android.apps.maps" />
60 <app-link package="com.google.android.youtube" />
61 <app-link package="com.google.android.apps.docs" />
62 <app-link package="com.google.android.talk" />
63 <app-link package="com.google.android.apps.photos" />
64 <app-link package="com.google.android.music" />
66 <!-- Apps below are optional on GMS devices -->
67 <app-link package="com.google.android.apps.tycho" />
68 <app-link package="com.google.android.apps.plus" />
69 <app-link package="com.google.android.apps.docs.editors.sheets" />
70 <app-link package="com.google.android.apps.docs.editors.slides" />
71 <app-link package="com.google.android.apps.docs.editors.docs" />
72 <app-link package="com.google.android.talk" />
73 <app-link package="com.google.android.videos" />
74 <app-link package="com.google.android.calendar" />
76 <!-- These are the packages that are white-listed to be able to run as system user -->
77 <system-user-whitelisted-app package="com.android.vending" />
78 <system-user-whitelisted-app package="com.google.android.gms" />
79 <system-user-whitelisted-app package="com.google.android.gms.policy_auth" />
80 <system-user-whitelisted-app package="com.google.android.play.games" />
81 <system-user-whitelisted-app package="com.google.android.tts" />
83 <!-- These are the packages that are uninstalled for system user -->
84 <!-- Apps below are required on all GMS devices -->
85 <system-user-blacklisted-app package="com.google.android.googlequicksearchbox" />
86 <!-- Apps below are optional on GMS devices -->
87 <system-user-blacklisted-app package="com.google.android.launcher" />
89 <!-- Whitelist of what components are permitted as backup data transports. The
90 'service' attribute here is a flattened ComponentName string. -->
91 <backup-transport-whitelisted-service
92 service="com.google.android.gms/.backup.BackupTransportService" />
93 <backup-transport-whitelisted-service
94 service="com.google.android.gms/.backup.component.D2dTransportService" />