google.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. <!-- Allow App Streaming to run in background while in power save mode. -->
  13. <allow-in-power-save package="com.google.ambient.streaming" />
  14. <!-- Turbo must not have App Standby restrictions in order to push new
  15. App Standby buckets to the platform periodically -->
  16. <allow-in-power-save-except-idle package="com.google.android.apps.turbo" />
  17. <!-- Certain broadcasts must still go to legacy implicit receivers -->
  18. <allow-implicit-broadcast action="com.google.android.checkin.CHECKIN_COMPLETE" />
  19. <allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_CHANGED" />
  20. <allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_OVERRIDE" />
  21. <allow-implicit-broadcast action="com.google.android.c2dm.intent.RECEIVE" />
  22. <!-- TODO: This is a temporary workaround for allowing GmsCore to receive this broadcast.
  23. This can be removed once OneTimeInitializer functionality is moved to GmsCore. -->
  24. <allow-implicit-broadcast action="com.google.android.onetimeinitializer.ONE_TIME_INITIALIZED" />
  25. <!-- Play Store likewise must have network access to support other applications. -->
  26. <allow-in-power-save-except-idle package="com.android.vending" />
  27. <!-- Allow SetupWizard keeping at unrestricted mode of Battery usage. -->
  28. <bg-restriction-exemption package="com.google.android.setupwizard"/>
  29. <bg-restriction-exemption package="com.google.android.apps.setupwizard.searchselector"/>
  30. <!-- These Google applications all handle URLs to their websites by default -->
  31. <!-- Apps below are required on all GMS devices -->
  32. <app-link package="com.android.vending" />
  33. <app-link package="com.google.android.gms" />
  34. <app-link package="com.google.android.apps.maps" />
  35. <app-link package="com.google.android.youtube" />
  36. <app-link package="com.google.android.apps.docs" />
  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.docs.editors.sheets" />
  42. <app-link package="com.google.android.apps.docs.editors.slides" />
  43. <app-link package="com.google.android.apps.docs.editors.docs" />
  44. <app-link package="com.google.android.talk" />
  45. <app-link package="com.google.android.videos" />
  46. <app-link package="com.google.android.calendar" />
  47. <app-link package="com.google.android.apps.wallpaper" />
  48. <!-- Whitelist of what components are permitted as backup data transports. The
  49. 'service' attribute here is a flattened ComponentName string. -->
  50. <backup-transport-whitelisted-service
  51. service="com.google.android.gms/.backup.BackupTransportService" />
  52. <backup-transport-whitelisted-service
  53. service="com.google.android.gms/.backup.component.D2dTransportService" />
  54. <backup-transport-whitelisted-service
  55. service="com.google.android.apps.restore/.transport.BackupTransportService" />
  56. <backup-transport-whitelisted-service
  57. service="com.google.android.apps.restore/.transport.D2dTransportService" />
  58. <!-- Specify the explicit set of other applications that AI services are allowed to
  59. interact with, including the providers that back the implementation of the APIs
  60. provided by the package. -->
  61. <allow-association target="com.google.android.as" allowed="com.android.bluetooth" />
  62. <allow-association target="com.google.android.as" allowed="com.android.bluetooth.services" />
  63. <allow-association target="com.google.android.as" allowed="com.android.providers.contacts" />
  64. <allow-association target="com.google.android.as" allowed="com.android.providers.media" />
  65. <allow-association target="com.google.android.as" allowed="com.android.providers.telephony" />
  66. <allow-association target="com.google.android.as" allowed="com.android.systemui" />
  67. <allow-association target="com.google.android.as" allowed="com.google.android.bluetooth" />
  68. <allow-association target="com.google.android.as" allowed="com.google.android.bluetooth.services" />
  69. <allow-association target="com.google.android.as" allowed="com.google.android.providers.media.module" />
  70. <!-- AI services can bind to its open-source network component. -->
  71. <allow-association target="com.google.android.as" allowed="com.google.android.as.oss" />
  72. <!-- AI services open-source network component can only bind back to the core package. -->
  73. <allow-association target="com.google.android.as.oss" allowed="com.google.android.as" />
  74. <!-- Specify the explicit set of other applications whose app data directories are
  75. accessible by other applications. -->
  76. <app-data-isolation-whitelisted-app package="com.google.android.gms" />
  77. <!-- Whitelist of packages that eligible for rollback -->
  78. <rollback-whitelisted-app package="com.android.vending" />
  79. <!-- Specify the installer eligiable for updating the given GMS package. -->
  80. <update-ownership package="com.google.android.gms" installer="com.android.vending" />
  81. <!-- Denylist of packages that are not eligible for automatic rollback -->
  82. <automatic-rollback-denylisted-app package="com.android.vending" />
  83. </config>