AndroidManifest.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. **
  5. ** Copyright 2017, The Android Open Source Project
  6. **
  7. ** Licensed under the Apache License, Version 2.0 (the "License");
  8. ** you may not use this file except in compliance with the License.
  9. ** You may obtain a copy of the License at
  10. **
  11. ** http://www.apache.org/licenses/LICENSE-2.0
  12. **
  13. ** Unless required by applicable law or agreed to in writing, software
  14. ** distributed under the License is distributed on an "AS IS" BASIS,
  15. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. ** See the License for the specific language governing permissions and
  17. ** limitations under the License.
  18. */
  19. -->
  20. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  21. xmlns:tools="http://schemas.android.com/tools"
  22. package="com.android.launcher3">
  23. <permission
  24. android:name="${packageName}.permission.HOTSEAT_EDU"
  25. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  26. android:protectionLevel="signatureOrSystem" />
  27. <uses-permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS" />
  28. <uses-permission android:name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS"/>
  29. <uses-permission android:name="android.permission.VIBRATE"/>
  30. <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>
  31. <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS"/>
  32. <uses-permission android:name="android.permission.REMOVE_TASKS"/>
  33. <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS"/>
  34. <uses-permission android:name="android.permission.STATUS_BAR"/>
  35. <uses-permission android:name="android.permission.STOP_APP_SWITCHES"/>
  36. <uses-permission android:name="android.permission.SET_ORIENTATION"/>
  37. <uses-permission android:name="android.permission.READ_FRAME_BUFFER"/>
  38. <uses-permission android:name="android.permission.MANAGE_ACCESSIBILITY"/>
  39. <uses-permission android:name="android.permission.MONITOR_INPUT"/>
  40. <uses-permission android:name="${packageName}.permission.HOTSEAT_EDU" />
  41. <uses-permission android:name="android.permission.SYSTEM_APPLICATION_OVERLAY" />
  42. <application android:backupAgent="com.android.launcher3.LauncherBackupAgent"
  43. android:fullBackupOnly="true"
  44. android:fullBackupContent="@xml/backupscheme"
  45. android:hardwareAccelerated="true"
  46. android:icon="@drawable/ic_launcher_home"
  47. android:label="@string/derived_app_name"
  48. android:theme="@style/AppTheme"
  49. android:largeHeap="@bool/config_largeHeap"
  50. android:restoreAnyVersion="true"
  51. android:supportsRtl="true">
  52. <service android:name="com.android.quickstep.TouchInteractionService"
  53. android:permission="android.permission.STATUS_BAR_SERVICE"
  54. android:directBootAware="true"
  55. android:exported="true">
  56. <intent-filter>
  57. <action android:name="android.intent.action.QUICKSTEP_SERVICE"/>
  58. </intent-filter>
  59. </service>
  60. <activity android:name="com.android.quickstep.RecentsActivity"
  61. android:excludeFromRecents="true"
  62. android:launchMode="singleTask"
  63. android:clearTaskOnLaunch="true"
  64. android:stateNotNeeded="true"
  65. android:theme="@style/LauncherTheme"
  66. android:screenOrientation="unspecified"
  67. android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize|density"
  68. android:resizeableActivity="true"
  69. android:resumeWhilePausing="true"
  70. android:taskAffinity=""/>
  71. <!-- Content provider to settings search. The autority should be same as the packageName -->
  72. <provider android:name="com.android.quickstep.LauncherSearchIndexablesProvider"
  73. android:authorities="${packageName}"
  74. android:grantUriPermissions="true"
  75. android:multiprocess="true"
  76. android:permission="android.permission.READ_SEARCH_INDEXABLES"
  77. android:exported="true">
  78. <intent-filter>
  79. <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER"/>
  80. </intent-filter>
  81. </provider>
  82. <!-- FileProvider used for sharing images. -->
  83. <provider android:name="androidx.core.content.FileProvider"
  84. android:authorities="${packageName}.overview.fileprovider"
  85. android:exported="false"
  86. android:grantUriPermissions="true">
  87. <meta-data android:name="android.support.FILE_PROVIDER_PATHS"
  88. android:resource="@xml/overview_file_provider_paths"/>
  89. </provider>
  90. <activity android:name="com.android.launcher3.proxy.ProxyActivityStarter"
  91. android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
  92. android:launchMode="singleTask"
  93. android:clearTaskOnLaunch="true"
  94. android:exported="false"/>
  95. <activity android:name="com.android.quickstep.interaction.GestureSandboxActivity"
  96. android:autoRemoveFromRecents="true"
  97. android:excludeFromRecents="true"
  98. android:screenOrientation="portrait"
  99. android:exported="true">
  100. <intent-filter>
  101. <action android:name="com.android.quickstep.action.GESTURE_SANDBOX"/>
  102. <category android:name="android.intent.category.DEFAULT"/>
  103. </intent-filter>
  104. </activity>
  105. <!--
  106. Activity following gesture nav onboarding.
  107. It's protected by android.permission.REBOOT to ensure that only system apps can start it
  108. (setup wizard already has this permission)
  109. -->
  110. <activity android:name="com.android.quickstep.interaction.AllSetActivity"
  111. android:autoRemoveFromRecents="true"
  112. android:excludeFromRecents="true"
  113. android:screenOrientation="portrait"
  114. android:permission="android.permission.REBOOT"
  115. android:theme="@style/AllSetTheme"
  116. android:label="@string/allset_title"
  117. android:exported="true">
  118. <intent-filter>
  119. <action android:name="com.android.quickstep.action.GESTURE_ONBOARDING_ALL_SET"/>
  120. <category android:name="android.intent.category.DEFAULT"/>
  121. </intent-filter>
  122. </activity>
  123. <activity
  124. android:name=".hybridhotseat.HotseatEduActivity"
  125. android:theme="@android:style/Theme.NoDisplay"
  126. android:noHistory="true"
  127. android:launchMode="singleTask"
  128. android:clearTaskOnLaunch="true"
  129. android:permission="${packageName}.permission.HOTSEAT_EDU"
  130. android:exported="true">
  131. <intent-filter>
  132. <action android:name="com.android.launcher3.action.SHOW_HYBRID_HOTSEAT_EDU"/>
  133. <category android:name="android.intent.category.DEFAULT" />
  134. </intent-filter>
  135. </activity>
  136. </application>
  137. </manifest>