google.xml 4.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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.apps.photos" />
  37. <app-link package="com.google.android.apps.youtube.music" />
  38. <app-link package="com.google.android.googlequicksearchbox" />
  39. <!-- Apps below are optional on GMS devices -->
  40. <app-link package="com.google.android.apps.docs.editors.sheets" />
  41. <app-link package="com.google.android.apps.docs.editors.slides" />
  42. <app-link package="com.google.android.apps.docs.editors.docs" />
  43. <app-link package="com.google.android.talk" />
  44. <app-link package="com.google.android.videos" />
  45. <app-link package="com.google.android.calendar" />
  46. <app-link package="com.google.android.apps.wallpaper" />
  47. <!-- Whitelist of what components are permitted as backup data transports. The
  48. 'service' attribute here is a flattened ComponentName string. -->
  49. <backup-transport-whitelisted-service
  50. service="com.google.android.gms/.backup.BackupTransportService" />
  51. <backup-transport-whitelisted-service
  52. service="com.google.android.gms/.backup.component.D2dTransportService" />
  53. <!-- Specify the explicit set of other applications whose app data directories are
  54. accessible by other applications. -->
  55. <app-data-isolation-whitelisted-app package="com.google.android.gms" />
  56. <!-- Whitelist of packages that eligible for rollback -->
  57. <rollback-whitelisted-app package="com.android.vending" />
  58. <!-- Restrict ASI and Private Compute Services -->
  59. <allow-association target="com.google.android.as" allowed="com.android.bluetooth" />
  60. <allow-association target="com.google.android.as" allowed="com.android.providers.contacts" />
  61. <allow-association target="com.google.android.as" allowed="com.android.providers.media" />
  62. <allow-association target="com.google.android.as" allowed="com.android.providers.telephony" />
  63. <allow-association target="com.google.android.as" allowed="com.android.systemui" />
  64. <allow-association target="com.google.android.as" allowed="com.google.android.providers.media.module" />
  65. <allow-association target="com.google.android.as" allowed="com.google.android.as.oss" />
  66. <allow-association target="com.google.android.as" allowed="com.google.android.bluetooth.services" />
  67. <allow-association target="com.google.android.as.oss" allowed="com.google.android.as" />
  68. </config>