google.xml 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- These are configurations that must exist on all GMS devices. -->
  3. <config>
  4. <!-- These are the standard packages that are white-listed to always have internet
  5. access while in power save mode, even if they aren't in the foreground. -->
  6. <!-- GmsCore must always have network access for GCM and other things. -->
  7. <allow-in-power-save package="com.google.android.gms" />
  8. <allow-in-data-usage-save package="com.google.android.gms" />
  9. <allow-unthrottled-location package="com.google.android.gms" />
  10. <allow-ignore-location-settings package="com.google.android.gms" attributionTag="com.google.android.gms.thunderbird" />
  11. <allow-ignore-location-settings package="com.google.android.dialer" attributionTag="*" />
  12. <!-- Turbo must not have App Standby restrictions in order to push new
  13. App Standby buckets to the platform periodically -->
  14. <allow-in-power-save-except-idle package="com.google.android.apps.turbo" />
  15. <!-- Certain broadcasts must still go to legacy implicit receivers -->
  16. <allow-implicit-broadcast action="com.google.android.checkin.CHECKIN_COMPLETE" />
  17. <allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_CHANGED" />
  18. <allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_OVERRIDE" />
  19. <allow-implicit-broadcast action="com.google.android.c2dm.intent.RECEIVE" />
  20. <!-- TODO: This is a temporary workaround for allowing GmsCore to receive this broadcast.
  21. This can be removed once OneTimeInitializer functionality is moved to GmsCore. -->
  22. <allow-implicit-broadcast action="com.google.android.onetimeinitializer.ONE_TIME_INITIALIZED" />
  23. <!-- Play Store likewise must have network access to support other applications. -->
  24. <allow-in-power-save-except-idle package="com.android.vending" />
  25. <!-- If CarrierServices is installed, it must always have network access to
  26. reliably receive IMS messages. -->
  27. <allow-in-power-save package="com.google.android.ims" />
  28. <allow-in-data-usage-save package="com.google.android.ims" />
  29. <!-- These Google applications all handle URLs to their websites by default -->
  30. <!-- Apps below are required on all GMS devices -->
  31. <app-link package="com.android.vending" />
  32. <app-link package="com.google.android.gms" />
  33. <app-link package="com.google.android.apps.maps" />
  34. <app-link package="com.google.android.youtube" />
  35. <app-link package="com.google.android.apps.docs" />
  36. <app-link package="com.google.android.talk" />
  37. <app-link package="com.google.android.apps.photos" />
  38. <app-link package="com.google.android.apps.youtube.music" />
  39. <app-link package="com.google.android.googlequicksearchbox" />
  40. <!-- Apps below are optional on GMS devices -->
  41. <app-link package="com.google.android.apps.tycho" />
  42. <app-link package="com.google.android.apps.plus" />
  43. <app-link package="com.google.android.apps.docs.editors.sheets" />
  44. <app-link package="com.google.android.apps.docs.editors.slides" />
  45. <app-link package="com.google.android.apps.docs.editors.docs" />
  46. <app-link package="com.google.android.talk" />
  47. <app-link package="com.google.android.videos" />
  48. <app-link package="com.google.android.calendar" />
  49. <app-link package="com.google.android.apps.wallpaper" />
  50. <!-- These are the packages that are white-listed to be able to run as system user -->
  51. <system-user-whitelisted-app package="com.android.vending" />
  52. <system-user-whitelisted-app package="com.google.android.gms" />
  53. <system-user-whitelisted-app package="com.google.android.gms.policy_auth" />
  54. <system-user-whitelisted-app package="com.google.android.play.games" />
  55. <system-user-whitelisted-app package="com.google.android.tts" />
  56. <!-- These are the packages that are uninstalled for system user -->
  57. <!-- Apps below are required on all GMS devices -->
  58. <system-user-blacklisted-app package="com.google.android.googlequicksearchbox" />
  59. <!-- Whitelist of what components are permitted as backup data transports. The
  60. 'service' attribute here is a flattened ComponentName string. -->
  61. <backup-transport-whitelisted-service
  62. service="com.google.android.gms/.backup.BackupTransportService" />
  63. <backup-transport-whitelisted-service
  64. service="com.google.android.gms/.backup.component.D2dTransportService" />
  65. <!-- Specify the explicit set of other applications whose app data directories are
  66. accessible by other applications. -->
  67. <app-data-isolation-whitelisted-app package="com.google.android.gms" />
  68. <!-- Whitelist of packages that eligible for rollback -->
  69. <rollback-whitelisted-app package="com.android.vending" />
  70. </config>