AndroidManifest.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. **
  5. ** Copyright 2008, 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
  21. xmlns:android="http://schemas.android.com/apk/res/android"
  22. android:sharedUserId="@string/sharedUserId"
  23. android:installLocation="internalOnly"
  24. package="org.kotei.launcher2">
  25. <original-package android:name="org.kotei.launcher2" />
  26. <permission
  27. android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
  28. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  29. android:protectionLevel="normal"
  30. android:label="@string/permlab_install_shortcut"
  31. android:description="@string/permdesc_install_shortcut" />
  32. <permission
  33. android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
  34. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  35. android:protectionLevel="normal"
  36. android:label="@string/permlab_uninstall_shortcut"
  37. android:description="@string/permdesc_uninstall_shortcut"/>
  38. <permission
  39. android:name="com.android.launcher.permission.READ_SETTINGS"
  40. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  41. android:protectionLevel="normal"
  42. android:label="@string/permlab_read_settings"
  43. android:description="@string/permdesc_read_settings"/>
  44. <permission
  45. android:name="com.android.launcher.permission.WRITE_SETTINGS"
  46. android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
  47. android:protectionLevel="normal"
  48. android:label="@string/permlab_write_settings"
  49. android:description="@string/permdesc_write_settings"/>
  50. <uses-permission android:name="android.permission.CALL_PHONE" />
  51. <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
  52. <uses-permission android:name="android.permission.GET_TASKS" />
  53. <uses-permission android:name="android.permission.READ_CONTACTS"/>
  54. <uses-permission android:name="android.permission.SET_WALLPAPER" />
  55. <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
  56. <uses-permission android:name="android.permission.VIBRATE" />
  57. <uses-permission android:name="android.permission.WRITE_SETTINGS" />
  58. <!-- uses-permission android:name="android.permission.BIND_APPWIDGET" /-->
  59. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  60. <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
  61. <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
  62. <application
  63. android:name="org.kotei.launcher2.LauncherApplication"
  64. android:process="@string/process"
  65. android:label="@string/application_name"
  66. android:icon="@drawable/ic_launcher_home">
  67. <activity
  68. android:name="org.kotei.launcher2.Launcher"
  69. android:launchMode="singleTask"
  70. android:clearTaskOnLaunch="true"
  71. android:stateNotNeeded="true"
  72. android:theme="@style/Theme"
  73. android:screenOrientation="landscape"
  74. android:configChanges="locale|keyboardHidden|orientation"
  75. android:windowSoftInputMode="stateUnspecified|adjustPan">
  76. <intent-filter>
  77. <action android:name="android.intent.action.MAIN" />
  78. <category android:name="android.intent.category.HOME" />
  79. <category android:name="android.intent.category.DEFAULT" />
  80. <category android:name="android.intent.category.MONKEY"/>
  81. </intent-filter>
  82. </activity>
  83. <activity
  84. android:name="org.kotei.launcher2.WallpaperChooser"
  85. android:label="@string/pick_wallpaper"
  86. android:icon="@drawable/ic_launcher_wallpaper"
  87. android:screenOrientation="landscape"
  88. android:finishOnCloseSystemDialogs="true">
  89. <intent-filter>
  90. <action android:name="android.intent.action.SET_WALLPAPER" />
  91. <category android:name="android.intent.category.DEFAULT" />
  92. </intent-filter>
  93. </activity>
  94. <activity android:name="org.kotei.launcher2.actions.RunActionActivity">
  95. <intent-filter>
  96. <action android:name="org.kotei.launcher2.ACTION_LAUNCHERACTION" />
  97. </intent-filter>
  98. </activity>
  99. <activity
  100. android:name="org.kotei.launcher2.CustomShirtcutActivity"
  101. android:theme="@android:style/Theme.Dialog"
  102. />
  103. <activity android:name="org.kotei.launcher2.ActivityPickerActivity" />
  104. <activity
  105. android:name="org.kotei.launcher2.settings.SettingsActivity"
  106. />
  107. <!-- Intent received used to install shortcuts from other applications -->
  108. <receiver
  109. android:name="org.kotei.launcher2.InstallShortcutReceiver"
  110. android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
  111. <intent-filter>
  112. <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
  113. </intent-filter>
  114. </receiver>
  115. <!-- Intent received used to uninstall shortcuts from other applications -->
  116. <receiver
  117. android:name="org.kotei.launcher2.UninstallShortcutReceiver"
  118. android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
  119. <intent-filter>
  120. <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
  121. </intent-filter>
  122. </receiver>
  123. <receiver android:name="org.kotei.launcher2.appdb.AppDB"
  124. android:enabled="true"
  125. android:exported="true">
  126. <intent-filter>
  127. <action android:name="android.intent.action.PACKAGE_ADDED" />
  128. <action android:name="android.intent.action.PACKAGE_REMOVED" />
  129. <action android:name="android.intent.action.PACKAGE_CHANGED" />
  130. <category android:name="android.intent.category.DEFAULT" />
  131. <data android:scheme="package" />
  132. </intent-filter>
  133. </receiver>
  134. <receiver
  135. android:name="org.kotei.launcher2.HDMIReceiver"
  136. android:enabled="true">
  137. <intent-filter>
  138. <action android:name="android.intent.action.BOOT_COMPLETED" />
  139. <category android:name="android.intent.category.LAUNCHER" />
  140. </intent-filter>
  141. </receiver>
  142. <service
  143. android:name="org.kotei.launcher2.HDMIService">
  144. <intent-filter>
  145. <action android:name="com.android.launcher.HDMIService"/>
  146. </intent-filter>
  147. </service>
  148. <!-- The settings provider contains Home's data, like the workspace favorites -->
  149. <provider
  150. android:name="org.kotei.launcher2.LauncherProvider"
  151. android:authorities="org.kotei.launcher2.settings"
  152. android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
  153. android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
  154. <provider
  155. android:name="org.kotei.launcher2.appdb.AppDBProvider"
  156. android:authorities="org.kotei.launcher2.appdb"
  157. android:exported="false" />
  158. </application>
  159. <uses-sdk android:minSdkVersion="7"
  160. android:targetSdkVersion="9"/>
  161. <supports-screens android:largeScreens="true"
  162. android:normalScreens="true" android:smallScreens="true"
  163. android:anyDensity="true" />
  164. </manifest>