blob: 8c837cc1d86e09275e81a02e0bc2bf1319036a93 [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">
Kenny Guyd794a3f2014-09-16 15:17:58 +010023 <uses-sdk android:targetSdkVersion="21" android:minSdkVersion="16"/>
Jeff Hamilton95db7372010-02-11 16:25:50 -060024
The Android Open Source Project31dd5032009-03-03 19:32:27 -080025 <permission
Winson Chung94d67682013-09-25 16:29:40 -070026 android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080027 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Nick Kralevich33650302012-08-07 10:21:13 -070028 android:protectionLevel="dangerous"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080029 android:label="@string/permlab_install_shortcut"
30 android:description="@string/permdesc_install_shortcut" />
31 <permission
Winson Chung94d67682013-09-25 16:29:40 -070032 android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080033 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Nick Kralevich33650302012-08-07 10:21:13 -070034 android:protectionLevel="dangerous"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080035 android:label="@string/permlab_uninstall_shortcut"
36 android:description="@string/permdesc_uninstall_shortcut"/>
37 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040038 android:name="com.android.launcher3.permission.READ_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080039 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
40 android:protectionLevel="normal"
41 android:label="@string/permlab_read_settings"
42 android:description="@string/permdesc_read_settings"/>
43 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040044 android:name="com.android.launcher3.permission.WRITE_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080045 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Winson Chungc66109c2014-02-26 11:50:46 -080046 android:protectionLevel="signatureOrSystem"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080047 android:label="@string/permlab_write_settings"
48 android:description="@string/permdesc_write_settings"/>
Daniel Sandlerff02d492013-08-05 02:12:05 -040049 <permission
50 android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"
51 android:protectionLevel="signature"
52 />
Adam Cohen3ed316a2014-07-23 18:21:20 -070053 <permission
54 android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST"
55 android:protectionLevel="signatureOrSystem" />
Daniel Sandlerff02d492013-08-05 02:12:05 -040056
The Android Open Source Project31dd5032009-03-03 19:32:27 -080057 <uses-permission android:name="android.permission.CALL_PHONE" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080058 <uses-permission android:name="android.permission.SET_WALLPAPER" />
59 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
60 <uses-permission android:name="android.permission.VIBRATE" />
Jeff Sharkey6d3bfe52009-05-07 16:12:05 -070061 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
Michael Jurka974c3862012-05-22 22:00:31 -070062 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
John Spurlock2c38e702013-09-18 10:48:25 -040063 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Sunny Goyalf599ccf2014-07-08 13:01:29 -070064 <uses-permission android:name="android.permission.BROADCAST_STICKY"/>
65 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Adam Cohene25af792013-06-06 23:08:25 -070066 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
67 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
Daniel Sandler325dc232013-06-05 22:57:57 -040068 <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
69 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
Daniel Sandlerff02d492013-08-05 02:12:05 -040070 <uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" />
Adam Cohena388a142014-07-31 09:45:58 -070071 <uses-permission android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST" />
Adam Cohen76fc0852011-06-17 13:26:23 -070072
The Android Open Source Project31dd5032009-03-03 19:32:27 -080073 <application
Daniel Sandler325dc232013-06-05 22:57:57 -040074 android:name="com.android.launcher3.LauncherApplication"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070075 android:allowBackup="@bool/enable_backup"
76 android:backupAgent="com.android.launcher3.LauncherBackupAgentHelper"
Michael Jurka14c5a2c2012-06-28 13:45:33 -070077 android:hardwareAccelerated="true"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070078 android:icon="@mipmap/ic_launcher_home"
79 android:label="@string/application_name"
Fabrice Di Meglio369dd0c2012-09-24 17:30:22 -070080 android:largeHeap="@bool/config_largeHeap"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070081 android:restoreAnyVersion="true"
82 android:supportsRtl="true" >
83
The Android Open Source Project31dd5032009-03-03 19:32:27 -080084 <activity
Daniel Sandler325dc232013-06-05 22:57:57 -040085 android:name="com.android.launcher3.Launcher"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080086 android:launchMode="singleTask"
87 android:clearTaskOnLaunch="true"
88 android:stateNotNeeded="true"
Adam Cohen81e2b9b2011-06-27 18:59:37 -070089 android:theme="@style/Theme"
Adam Cohen446e9402011-09-15 18:21:21 -070090 android:windowSoftInputMode="adjustPan"
Adam Cohenc2d6e892014-10-16 09:49:24 -070091 android:screenOrientation="nosensor"
92 android:enabled="true">
93 <intent-filter>
94 <action android:name="android.intent.action.MAIN" />
95 <category android:name="android.intent.category.HOME" />
96 <category android:name="android.intent.category.DEFAULT" />
97 <category android:name="android.intent.category.MONKEY"/>
98 </intent-filter>
99 </activity>
100
101 <activity
102 android:name="com.android.launcher3.LauncherExtension"
103 android:launchMode="singleTask"
104 android:clearTaskOnLaunch="true"
105 android:stateNotNeeded="true"
106 android:theme="@style/Theme"
107 android:windowSoftInputMode="adjustPan"
108 android:screenOrientation="nosensor"
109 android:enabled="false">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800110 <intent-filter>
111 <action android:name="android.intent.action.MAIN" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -0700112 <category android:name="android.intent.category.HOME" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800113 <category android:name="android.intent.category.DEFAULT" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -0700114 <category android:name="android.intent.category.MONKEY"/>
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800115 </intent-filter>
116 </activity>
117
118 <activity
Adam Cohen39a06042013-07-19 14:30:12 -0700119 android:name="com.android.launcher3.ToggleWeightWatcher"
120 android:label="@string/toggle_weight_watcher"
Daniel Sandler826420b2013-08-23 00:45:46 -0400121 android:enabled="@bool/debug_memory_enabled"
Adam Cohen39a06042013-07-19 14:30:12 -0700122 android:icon="@mipmap/ic_launcher_home">
123 <intent-filter>
124 <action android:name="android.intent.action.MAIN" />
125 <category android:name="android.intent.category.DEFAULT" />
126 <category android:name="android.intent.category.LAUNCHER" />
127 </intent-filter>
128 </activity>
129
130 <activity
Sunny Goyal6a1e95a2015-03-20 17:26:30 -0700131 android:name="com.android.launcher3.WallpaperPickerActivity"
Selim Cinekffed6582014-02-28 17:18:59 +0100132 android:theme="@style/Theme.WallpaperPicker"
Michael Jurka104c4562013-07-08 18:03:46 -0700133 android:label="@string/pick_wallpaper"
134 android:icon="@mipmap/ic_launcher_wallpaper"
135 android:finishOnCloseSystemDialogs="true"
136 android:process=":wallpaper_chooser">
137 <intent-filter>
Michael Jurkaadc574c2013-09-12 00:05:02 +0200138 <action android:name="android.intent.action.SET_WALLPAPER" />
Michael Jurka104c4562013-07-08 18:03:46 -0700139 <category android:name="android.intent.category.DEFAULT" />
140 </intent-filter>
Michael Jurka104c4562013-07-08 18:03:46 -0700141 </activity>
142
Michael Jurka2d8de582013-09-04 14:42:52 +0200143 <activity
144 android:name="com.android.launcher3.WallpaperCropActivity"
Michael Jurkaadc574c2013-09-12 00:05:02 +0200145 android:theme="@style/Theme.WallpaperCropper"
146 android:label="@string/crop_wallpaper"
Michael Jurka2d8de582013-09-04 14:42:52 +0200147 android:icon="@mipmap/ic_launcher_wallpaper"
148 android:finishOnCloseSystemDialogs="true"
149 android:process=":wallpaper_chooser">
150 <intent-filter>
Michael Jurkaadc574c2013-09-12 00:05:02 +0200151 <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
Michael Jurka2d8de582013-09-04 14:42:52 +0200152 <category android:name="android.intent.category.DEFAULT" />
Michael Jurkaadc574c2013-09-12 00:05:02 +0200153 <data android:mimeType="image/*" />
Michael Jurka2d8de582013-09-04 14:42:52 +0200154 </intent-filter>
155 </activity>
Michael Jurka104c4562013-07-08 18:03:46 -0700156
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400157 <!-- Debugging tools -->
158 <activity
159 android:name="com.android.launcher3.MemoryDumpActivity"
160 android:theme="@android:style/Theme.NoDisplay"
161 android:label="@string/debug_memory_activity"
162 android:enabled="@bool/debug_memory_enabled"
Daniel Sandler8540bb82013-06-26 01:39:02 -0400163 android:excludeFromRecents="true"
164 android:icon="@mipmap/ic_launcher_home"
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400165 >
166 <intent-filter>
167 <action android:name="android.intent.action.MAIN" />
168 <category android:name="android.intent.category.DEFAULT" />
169 <category android:name="android.intent.category.LAUNCHER" />
170 </intent-filter>
171 </activity>
172
Daniel Sandlerb9eb2862013-06-14 20:17:30 -0400173 <service android:name="com.android.launcher3.MemoryTracker"
174 android:enabled="@bool/debug_memory_enabled"
175 >
176 </service>
177
Michael Jurkaa6a05472013-11-13 17:59:46 +0100178 <receiver
179 android:name="com.android.launcher3.WallpaperChangedReceiver">
180 <intent-filter>
181 <action android:name="android.intent.action.WALLPAPER_CHANGED" />
182 </intent-filter>
183 </receiver>
184
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800185 <!-- Intent received used to install shortcuts from other applications -->
186 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400187 android:name="com.android.launcher3.InstallShortcutReceiver"
Sunny Goyal9b8da882014-09-05 04:40:13 -0700188 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800189 <intent-filter>
Sunny Goyal9b8da882014-09-05 04:40:13 -0700190 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800191 </intent-filter>
192 </receiver>
193
194 <!-- Intent received used to uninstall shortcuts from other applications -->
195 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400196 android:name="com.android.launcher3.UninstallShortcutReceiver"
Sunny Goyal9b8da882014-09-05 04:40:13 -0700197 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800198 <intent-filter>
Sunny Goyal9b8da882014-09-05 04:40:13 -0700199 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800200 </intent-filter>
201 </receiver>
202
Sunny Goyal651077b2014-06-30 14:15:31 -0700203 <!-- Intent received used to initialize a restored widget -->
204 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
205 <intent-filter>
206 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
207 </intent-filter>
208 </receiver>
209
Dianne Hackborn804503c2012-09-16 00:00:27 -0700210 <!-- New user initialization; set up initial wallpaper -->
211 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400212 android:name="com.android.launcher3.UserInitializeReceiver"
Dianne Hackborn804503c2012-09-16 00:00:27 -0700213 android:exported="false">
214 <intent-filter>
215 <action android:name="android.intent.action.USER_INITIALIZE" />
216 </intent-filter>
217 </receiver>
Michael Jurka05713af2013-01-23 12:39:24 +0100218
Sunny Goyalf599ccf2014-07-08 13:01:29 -0700219 <receiver android:name="com.android.launcher3.StartupReceiver" >
220 <intent-filter>
221 <action android:name="android.intent.action.BOOT_COMPLETED" />
222 </intent-filter>
223 </receiver>
224
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800225 <!-- The settings provider contains Home's data, like the workspace favorites -->
226 <provider
Daniel Sandler325dc232013-06-05 22:57:57 -0400227 android:name="com.android.launcher3.LauncherProvider"
228 android:authorities="com.android.launcher3.settings"
Nick Kralevichebe65592012-07-28 16:11:07 -0700229 android:exported="true"
Daniel Sandler325dc232013-06-05 22:57:57 -0400230 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
231 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800232
Martijn Coenenb34811d2012-04-19 09:38:20 -0700233 <meta-data android:name="android.nfc.disable_beam_default"
234 android:value="true" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800235 </application>
236</manifest>