default-permissions.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version='1.0' encoding='utf-8' standalone='yes' ?>
  2. <!-- Copyright (C) 2016 Google Inc.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <!--
  14. This file contains permissions to be granted by default. Default
  15. permissions are granted to special platform components and to apps
  16. that are approved to get default grants. The special components
  17. are apps that are expected tto work out-of-the-box as they provide
  18. core use cases such as default dialer, default email, etc. These
  19. grants are managed by the platform. The apps that are additionally
  20. approved for default grants are ones that provide carrier specific
  21. functionality, ones legally required at some location, ones providing
  22. alternative disclosure and opt-out UI, ones providing highlight features
  23. of a dedicated device, etc. This file contains only the latter exceptions.
  24. Fixed permissions cannot be controlled by the user and need a special
  25. approval. Typically these are to ensure either legally mandated functions
  26. or the app is considered a part of the OS.
  27. -->
  28. <exceptions>
  29. <!-- This is an example of an exception:
  30. <exception
  31. package="foo.bar.permission"
  32. <permission name="android.permission.READ_CONTACTS" fixed="true"/>
  33. <permission name="android.permission.READ_CALENDAR" fixed="false"/>
  34. </exception>
  35. -->
  36. <exception
  37. package="com.google.android.apps.youtube.vr">
  38. <!-- Microphone -->
  39. <permission name="android.permission.RECORD_AUDIO" fixed="false"/>
  40. </exception>
  41. <exception
  42. package="com.verizon.mips.services">
  43. <!-- Call -->
  44. <permission name="android.permission.PROCESS_OUTGOING_CALLS" fixed="false"/>
  45. <!-- Phone -->
  46. <permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
  47. <!-- SMS -->
  48. <permission name="android.permission.RECEIVE_SMS" fixed="false"/>
  49. </exception>
  50. <exception
  51. package="com.google.android.apps.pixelmigrate">
  52. <!-- External storage -->
  53. <permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/>
  54. <permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
  55. <!-- Contacts -->
  56. <permission name="android.permission.READ_CONTACTS" fixed="false"/>
  57. <permission name="android.permission.WRITE_CONTACTS" fixed="false"/>
  58. <!-- Call logs -->
  59. <permission name="android.permission.READ_CALL_LOG" fixed="false"/>
  60. <permission name="android.permission.WRITE_CALL_LOG" fixed="false"/>
  61. <!-- SMS -->
  62. <permission name="android.permission.RECEIVE_SMS" fixed="false"/>
  63. <permission name="android.permission.READ_PHONE_NUMBERS" fixed="false"/>
  64. </exception>
  65. <exception
  66. package="com.google.android.apps.restore"
  67. sha256-cert-digest="56:BE:13:2B:78:06:56:FE:24:44:CD:34:32:6E:B5:D7:AA:C9:1D:20:96:AB:F0:FE:67:3A:99:27:06:22:EC:87">
  68. <!-- External storage -->
  69. <permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/>
  70. <permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
  71. <!-- Contacts -->
  72. <permission name="android.permission.READ_CONTACTS" fixed="false"/>
  73. <permission name="android.permission.WRITE_CONTACTS" fixed="false"/>
  74. </exception>
  75. <exception
  76. package="com.google.vr.apps.ornament"
  77. sha256-cert-digest="4A:9E:3F:3B:C8:D6:0C:E4:D3:CB:E5:A9:C6:6E:EC:11:EF:D0:1C:5F:E9:C7:8D:8C:92:3B:9D:42:48:23:00:13">
  78. <!-- Camera -->
  79. <permission name="android.permission.CAMERA" fixed="false"/>
  80. <!-- Microphone -->
  81. <permission name="android.permission.RECORD_AUDIO" fixed="false"/>
  82. <!-- Storage -->
  83. <permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/>
  84. <permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
  85. </exception>
  86. <exception package="com.google.android.settings.intelligence">
  87. <!-- Calendar -->
  88. <permission name="android.permission.READ_CALENDAR" fixed="true"/>
  89. <!-- Location -->
  90. <permission name="android.permission.ACCESS_FINE_LOCATION" fixed="true"/>
  91. </exception>
  92. </exceptions>