blob: a91de6572e6852b900e5c6eb9d6dd1cf22a0655a [file] [log] [blame]
The Android Open Source Project31dd5032009-03-03 19:32:27 -08001<?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"
Daniel Sandler325dc232013-06-05 22:57:57 -040022 package="com.android.launcher3">
Jeff Hamilton95db7372010-02-11 16:25:50 -060023
The Android Open Source Project31dd5032009-03-03 19:32:27 -080024 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040025 android:name="com.android.launcher3.permission.PRELOAD_WORKSPACE"
Brian Muramatsub6a4d982012-04-24 17:16:04 -070026 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
27 android:protectionLevel="system|signature" />
28 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040029 android:name="com.android.launcher3.permission.INSTALL_SHORTCUT"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080030 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Nick Kralevich33650302012-08-07 10:21:13 -070031 android:protectionLevel="dangerous"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080032 android:label="@string/permlab_install_shortcut"
33 android:description="@string/permdesc_install_shortcut" />
34 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040035 android:name="com.android.launcher3.permission.UNINSTALL_SHORTCUT"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080036 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Nick Kralevich33650302012-08-07 10:21:13 -070037 android:protectionLevel="dangerous"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080038 android:label="@string/permlab_uninstall_shortcut"
39 android:description="@string/permdesc_uninstall_shortcut"/>
40 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040041 android:name="com.android.launcher3.permission.READ_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080042 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
43 android:protectionLevel="normal"
44 android:label="@string/permlab_read_settings"
45 android:description="@string/permdesc_read_settings"/>
46 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040047 android:name="com.android.launcher3.permission.WRITE_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080048 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
49 android:protectionLevel="normal"
50 android:label="@string/permlab_write_settings"
51 android:description="@string/permdesc_write_settings"/>
52
Daniel Sandlerff02d492013-08-05 02:12:05 -040053 <permission
54 android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"
55 android:protectionLevel="signature"
56 />
57
The Android Open Source Project31dd5032009-03-03 19:32:27 -080058 <uses-permission android:name="android.permission.CALL_PHONE" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080059 <uses-permission android:name="android.permission.SET_WALLPAPER" />
60 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
61 <uses-permission android:name="android.permission.VIBRATE" />
Jeff Sharkey6d3bfe52009-05-07 16:12:05 -070062 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
Michael Jurka974c3862012-05-22 22:00:31 -070063 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Adam Cohene25af792013-06-06 23:08:25 -070064 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
65 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
Daniel Sandler325dc232013-06-05 22:57:57 -040066 <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
67 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
Daniel Sandlerff02d492013-08-05 02:12:05 -040068 <uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" />
Adam Cohen76fc0852011-06-17 13:26:23 -070069
The Android Open Source Project31dd5032009-03-03 19:32:27 -080070 <application
Daniel Sandler325dc232013-06-05 22:57:57 -040071 android:name="com.android.launcher3.LauncherApplication"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080072 android:label="@string/application_name"
Michael Jurka9df38df2012-11-12 18:07:02 -080073 android:icon="@mipmap/ic_launcher_home"
Michael Jurka14c5a2c2012-06-28 13:45:33 -070074 android:hardwareAccelerated="true"
Fabrice Di Meglio369dd0c2012-09-24 17:30:22 -070075 android:largeHeap="@bool/config_largeHeap"
76 android:supportsRtl="true">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080077 <activity
Daniel Sandler325dc232013-06-05 22:57:57 -040078 android:name="com.android.launcher3.Launcher"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080079 android:launchMode="singleTask"
80 android:clearTaskOnLaunch="true"
81 android:stateNotNeeded="true"
Adam Cohen81e2b9b2011-06-27 18:59:37 -070082 android:theme="@style/Theme"
Adam Cohen446e9402011-09-15 18:21:21 -070083 android:windowSoftInputMode="adjustPan"
Jeff Browna6016632012-06-04 14:15:42 -070084 android:screenOrientation="nosensor">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080085 <intent-filter>
86 <action android:name="android.intent.action.MAIN" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070087 <category android:name="android.intent.category.HOME" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080088 <category android:name="android.intent.category.DEFAULT" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070089 <category android:name="android.intent.category.MONKEY"/>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080090 </intent-filter>
91 </activity>
92
93 <activity
Adam Cohen39a06042013-07-19 14:30:12 -070094 android:name="com.android.launcher3.ToggleWeightWatcher"
95 android:label="@string/toggle_weight_watcher"
Daniel Sandler826420b2013-08-23 00:45:46 -040096 android:enabled="@bool/debug_memory_enabled"
Adam Cohen39a06042013-07-19 14:30:12 -070097 android:icon="@mipmap/ic_launcher_home">
98 <intent-filter>
99 <action android:name="android.intent.action.MAIN" />
100 <category android:name="android.intent.category.DEFAULT" />
101 <category android:name="android.intent.category.LAUNCHER" />
102 </intent-filter>
103 </activity>
104
105 <activity
Michael Jurka104c4562013-07-08 18:03:46 -0700106 android:name="com.android.launcher3.WallpaperPickerActivity"
107 android:theme="@style/Theme.WallpaperPicker"
108 android:label="@string/pick_wallpaper"
109 android:icon="@mipmap/ic_launcher_wallpaper"
110 android:finishOnCloseSystemDialogs="true"
111 android:process=":wallpaper_chooser">
112 <intent-filter>
Michael Jurka2d8de582013-09-04 14:42:52 +0200113 <action android:name="com.android.launcher3.action.CROP_AND_SET_WALLPAPER" />
Michael Jurka104c4562013-07-08 18:03:46 -0700114 <category android:name="android.intent.category.DEFAULT" />
Michael Jurka2d8de582013-09-04 14:42:52 +0200115 <data android:mimeType="image/*" />
Michael Jurka104c4562013-07-08 18:03:46 -0700116 </intent-filter>
Michael Jurka104c4562013-07-08 18:03:46 -0700117 </activity>
118
Michael Jurka2d8de582013-09-04 14:42:52 +0200119 <activity
120 android:name="com.android.launcher3.WallpaperCropActivity"
121 android:theme="@style/Theme.WallpaperPicker"
122 android:label="@string/pick_wallpaper"
123 android:icon="@mipmap/ic_launcher_wallpaper"
124 android:finishOnCloseSystemDialogs="true"
125 android:process=":wallpaper_chooser">
126 <intent-filter>
127 <action android:name="com.android.launcher3.action.CROP_AND_SET_WALLPAPER" />
128 <category android:name="android.intent.category.DEFAULT" />
129 </intent-filter>
130 </activity>
Michael Jurka104c4562013-07-08 18:03:46 -0700131
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400132 <!-- Debugging tools -->
133 <activity
134 android:name="com.android.launcher3.MemoryDumpActivity"
135 android:theme="@android:style/Theme.NoDisplay"
136 android:label="@string/debug_memory_activity"
137 android:enabled="@bool/debug_memory_enabled"
Daniel Sandler8540bb82013-06-26 01:39:02 -0400138 android:excludeFromRecents="true"
139 android:icon="@mipmap/ic_launcher_home"
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400140 >
141 <intent-filter>
142 <action android:name="android.intent.action.MAIN" />
143 <category android:name="android.intent.category.DEFAULT" />
144 <category android:name="android.intent.category.LAUNCHER" />
145 </intent-filter>
146 </activity>
147
Daniel Sandlerb9eb2862013-06-14 20:17:30 -0400148 <service android:name="com.android.launcher3.MemoryTracker"
149 android:enabled="@bool/debug_memory_enabled"
150 >
151 </service>
152
Brian Muramatsub6a4d982012-04-24 17:16:04 -0700153 <!-- Intent received used to prepopulate the default workspace. -->
154 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400155 android:name="com.android.launcher3.PreloadReceiver"
156 android:permission="com.android.launcher3.permission.PRELOAD_WORKSPACE">
Brian Muramatsub6a4d982012-04-24 17:16:04 -0700157 <intent-filter>
Daniel Sandler325dc232013-06-05 22:57:57 -0400158 <action android:name="com.android.launcher3.action.PRELOAD_WORKSPACE" />
Brian Muramatsub6a4d982012-04-24 17:16:04 -0700159 </intent-filter>
160 </receiver>
161
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800162 <!-- Intent received used to install shortcuts from other applications -->
163 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400164 android:name="com.android.launcher3.InstallShortcutReceiver"
165 android:permission="com.android.launcher3.permission.INSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800166 <intent-filter>
Daniel Sandler325dc232013-06-05 22:57:57 -0400167 <action android:name="com.android.launcher3.action.INSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800168 </intent-filter>
169 </receiver>
170
171 <!-- Intent received used to uninstall shortcuts from other applications -->
172 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400173 android:name="com.android.launcher3.UninstallShortcutReceiver"
174 android:permission="com.android.launcher3.permission.UNINSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800175 <intent-filter>
Daniel Sandler325dc232013-06-05 22:57:57 -0400176 <action android:name="com.android.launcher3.action.UNINSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800177 </intent-filter>
178 </receiver>
179
Dianne Hackborn804503c2012-09-16 00:00:27 -0700180 <!-- New user initialization; set up initial wallpaper -->
181 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400182 android:name="com.android.launcher3.UserInitializeReceiver"
Dianne Hackborn804503c2012-09-16 00:00:27 -0700183 android:exported="false">
184 <intent-filter>
185 <action android:name="android.intent.action.USER_INITIALIZE" />
186 </intent-filter>
187 </receiver>
Michael Jurka05713af2013-01-23 12:39:24 +0100188
Daniel Sandler325dc232013-06-05 22:57:57 -0400189 <receiver android:name="com.android.launcher3.PackageChangedReceiver" >
Michael Jurka05713af2013-01-23 12:39:24 +0100190 <intent-filter>
191 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
192 <action android:name="android.intent.action.PACKAGE_REPLACED"/>
193 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
194 <data android:scheme="package"></data>
195 </intent-filter>
196 </receiver>
197
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800198 <!-- The settings provider contains Home's data, like the workspace favorites -->
199 <provider
Daniel Sandler325dc232013-06-05 22:57:57 -0400200 android:name="com.android.launcher3.LauncherProvider"
201 android:authorities="com.android.launcher3.settings"
Nick Kralevichebe65592012-07-28 16:11:07 -0700202 android:exported="true"
Daniel Sandler325dc232013-06-05 22:57:57 -0400203 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
204 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800205
Martijn Coenenb34811d2012-04-19 09:38:20 -0700206 <meta-data android:name="android.nfc.disable_beam_default"
207 android:value="true" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800208 </application>
209</manifest>