blob: d4cd6a2bea59286cc16bd98d2717609af3e2d0ed [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">
Dan Sandlerd5024042014-01-09 15:01:33 -050023 <uses-sdk android:targetSdkVersion="19" android:minSdkVersion="16"/>
Jeff Hamilton95db7372010-02-11 16:25:50 -060024
The Android Open Source Project31dd5032009-03-03 19:32:27 -080025 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040026 android:name="com.android.launcher3.permission.PRELOAD_WORKSPACE"
Brian Muramatsub6a4d982012-04-24 17:16:04 -070027 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Winson Chungc66109c2014-02-26 11:50:46 -080028 android:protectionLevel="signatureOrSystem" />
Brian Muramatsub6a4d982012-04-24 17:16:04 -070029 <permission
Winson Chung94d67682013-09-25 16:29:40 -070030 android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080031 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Nick Kralevich33650302012-08-07 10:21:13 -070032 android:protectionLevel="dangerous"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080033 android:label="@string/permlab_install_shortcut"
34 android:description="@string/permdesc_install_shortcut" />
35 <permission
Winson Chung94d67682013-09-25 16:29:40 -070036 android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080037 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Nick Kralevich33650302012-08-07 10:21:13 -070038 android:protectionLevel="dangerous"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080039 android:label="@string/permlab_uninstall_shortcut"
40 android:description="@string/permdesc_uninstall_shortcut"/>
41 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040042 android:name="com.android.launcher3.permission.READ_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080043 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
44 android:protectionLevel="normal"
45 android:label="@string/permlab_read_settings"
46 android:description="@string/permdesc_read_settings"/>
47 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040048 android:name="com.android.launcher3.permission.WRITE_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080049 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Winson Chungc66109c2014-02-26 11:50:46 -080050 android:protectionLevel="signatureOrSystem"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080051 android:label="@string/permlab_write_settings"
52 android:description="@string/permdesc_write_settings"/>
53
Daniel Sandlerff02d492013-08-05 02:12:05 -040054 <permission
55 android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"
56 android:protectionLevel="signature"
57 />
58
The Android Open Source Project31dd5032009-03-03 19:32:27 -080059 <uses-permission android:name="android.permission.CALL_PHONE" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080060 <uses-permission android:name="android.permission.SET_WALLPAPER" />
61 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
62 <uses-permission android:name="android.permission.VIBRATE" />
Jeff Sharkey6d3bfe52009-05-07 16:12:05 -070063 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
Michael Jurka974c3862012-05-22 22:00:31 -070064 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
John Spurlock2c38e702013-09-18 10:48:25 -040065 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
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 Cohen76fc0852011-06-17 13:26:23 -070071
The Android Open Source Project31dd5032009-03-03 19:32:27 -080072 <application
Daniel Sandler325dc232013-06-05 22:57:57 -040073 android:name="com.android.launcher3.LauncherApplication"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080074 android:label="@string/application_name"
Michael Jurka9df38df2012-11-12 18:07:02 -080075 android:icon="@mipmap/ic_launcher_home"
Michael Jurka14c5a2c2012-06-28 13:45:33 -070076 android:hardwareAccelerated="true"
Fabrice Di Meglio369dd0c2012-09-24 17:30:22 -070077 android:largeHeap="@bool/config_largeHeap"
78 android:supportsRtl="true">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080079 <activity
Daniel Sandler325dc232013-06-05 22:57:57 -040080 android:name="com.android.launcher3.Launcher"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080081 android:launchMode="singleTask"
82 android:clearTaskOnLaunch="true"
83 android:stateNotNeeded="true"
Adam Cohen81e2b9b2011-06-27 18:59:37 -070084 android:theme="@style/Theme"
Adam Cohen446e9402011-09-15 18:21:21 -070085 android:windowSoftInputMode="adjustPan"
Jeff Browna6016632012-06-04 14:15:42 -070086 android:screenOrientation="nosensor">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080087 <intent-filter>
88 <action android:name="android.intent.action.MAIN" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070089 <category android:name="android.intent.category.HOME" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080090 <category android:name="android.intent.category.DEFAULT" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070091 <category android:name="android.intent.category.MONKEY"/>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080092 </intent-filter>
93 </activity>
94
95 <activity
Adam Cohen39a06042013-07-19 14:30:12 -070096 android:name="com.android.launcher3.ToggleWeightWatcher"
97 android:label="@string/toggle_weight_watcher"
Daniel Sandler826420b2013-08-23 00:45:46 -040098 android:enabled="@bool/debug_memory_enabled"
Adam Cohen39a06042013-07-19 14:30:12 -070099 android:icon="@mipmap/ic_launcher_home">
100 <intent-filter>
101 <action android:name="android.intent.action.MAIN" />
102 <category android:name="android.intent.category.DEFAULT" />
103 <category android:name="android.intent.category.LAUNCHER" />
104 </intent-filter>
105 </activity>
106
107 <activity
Michael Jurka7ad868b2013-12-12 15:04:25 +0100108 android:name="com.android.launcher3.LauncherWallpaperPickerActivity"
Selim Cinekffed6582014-02-28 17:18:59 +0100109 android:theme="@style/Theme.WallpaperPicker"
Michael Jurka104c4562013-07-08 18:03:46 -0700110 android:label="@string/pick_wallpaper"
111 android:icon="@mipmap/ic_launcher_wallpaper"
112 android:finishOnCloseSystemDialogs="true"
113 android:process=":wallpaper_chooser">
114 <intent-filter>
Michael Jurkaadc574c2013-09-12 00:05:02 +0200115 <action android:name="android.intent.action.SET_WALLPAPER" />
Michael Jurka104c4562013-07-08 18:03:46 -0700116 <category android:name="android.intent.category.DEFAULT" />
117 </intent-filter>
Michael Jurka104c4562013-07-08 18:03:46 -0700118 </activity>
119
Michael Jurka2d8de582013-09-04 14:42:52 +0200120 <activity
121 android:name="com.android.launcher3.WallpaperCropActivity"
Michael Jurkaadc574c2013-09-12 00:05:02 +0200122 android:theme="@style/Theme.WallpaperCropper"
123 android:label="@string/crop_wallpaper"
Michael Jurka2d8de582013-09-04 14:42:52 +0200124 android:icon="@mipmap/ic_launcher_wallpaper"
125 android:finishOnCloseSystemDialogs="true"
126 android:process=":wallpaper_chooser">
127 <intent-filter>
Michael Jurkaadc574c2013-09-12 00:05:02 +0200128 <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
Michael Jurka2d8de582013-09-04 14:42:52 +0200129 <category android:name="android.intent.category.DEFAULT" />
Michael Jurkaadc574c2013-09-12 00:05:02 +0200130 <data android:mimeType="image/*" />
Michael Jurka2d8de582013-09-04 14:42:52 +0200131 </intent-filter>
132 </activity>
Michael Jurka104c4562013-07-08 18:03:46 -0700133
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400134 <!-- Debugging tools -->
135 <activity
136 android:name="com.android.launcher3.MemoryDumpActivity"
137 android:theme="@android:style/Theme.NoDisplay"
138 android:label="@string/debug_memory_activity"
139 android:enabled="@bool/debug_memory_enabled"
Daniel Sandler8540bb82013-06-26 01:39:02 -0400140 android:excludeFromRecents="true"
141 android:icon="@mipmap/ic_launcher_home"
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400142 >
143 <intent-filter>
144 <action android:name="android.intent.action.MAIN" />
145 <category android:name="android.intent.category.DEFAULT" />
146 <category android:name="android.intent.category.LAUNCHER" />
147 </intent-filter>
148 </activity>
149
Daniel Sandlerb9eb2862013-06-14 20:17:30 -0400150 <service android:name="com.android.launcher3.MemoryTracker"
151 android:enabled="@bool/debug_memory_enabled"
152 >
153 </service>
154
Brian Muramatsub6a4d982012-04-24 17:16:04 -0700155 <!-- Intent received used to prepopulate the default workspace. -->
156 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400157 android:name="com.android.launcher3.PreloadReceiver"
158 android:permission="com.android.launcher3.permission.PRELOAD_WORKSPACE">
Brian Muramatsub6a4d982012-04-24 17:16:04 -0700159 <intent-filter>
Daniel Sandler325dc232013-06-05 22:57:57 -0400160 <action android:name="com.android.launcher3.action.PRELOAD_WORKSPACE" />
Brian Muramatsub6a4d982012-04-24 17:16:04 -0700161 </intent-filter>
162 </receiver>
163
Michael Jurkaa6a05472013-11-13 17:59:46 +0100164 <receiver
165 android:name="com.android.launcher3.WallpaperChangedReceiver">
166 <intent-filter>
167 <action android:name="android.intent.action.WALLPAPER_CHANGED" />
168 </intent-filter>
169 </receiver>
170
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800171 <!-- Intent received used to install shortcuts from other applications -->
172 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400173 android:name="com.android.launcher3.InstallShortcutReceiver"
174 android:permission="com.android.launcher3.permission.INSTALL_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.INSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800177 </intent-filter>
178 </receiver>
179
180 <!-- Intent received used to uninstall shortcuts from other applications -->
181 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400182 android:name="com.android.launcher3.UninstallShortcutReceiver"
183 android:permission="com.android.launcher3.permission.UNINSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800184 <intent-filter>
Daniel Sandler325dc232013-06-05 22:57:57 -0400185 <action android:name="com.android.launcher3.action.UNINSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800186 </intent-filter>
187 </receiver>
188
Dianne Hackborn804503c2012-09-16 00:00:27 -0700189 <!-- New user initialization; set up initial wallpaper -->
190 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400191 android:name="com.android.launcher3.UserInitializeReceiver"
Dianne Hackborn804503c2012-09-16 00:00:27 -0700192 android:exported="false">
193 <intent-filter>
194 <action android:name="android.intent.action.USER_INITIALIZE" />
195 </intent-filter>
196 </receiver>
Michael Jurka05713af2013-01-23 12:39:24 +0100197
Daniel Sandler325dc232013-06-05 22:57:57 -0400198 <receiver android:name="com.android.launcher3.PackageChangedReceiver" >
Michael Jurka05713af2013-01-23 12:39:24 +0100199 <intent-filter>
200 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
201 <action android:name="android.intent.action.PACKAGE_REPLACED"/>
202 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
203 <data android:scheme="package"></data>
204 </intent-filter>
205 </receiver>
206
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800207 <!-- The settings provider contains Home's data, like the workspace favorites -->
208 <provider
Daniel Sandler325dc232013-06-05 22:57:57 -0400209 android:name="com.android.launcher3.LauncherProvider"
210 android:authorities="com.android.launcher3.settings"
Nick Kralevichebe65592012-07-28 16:11:07 -0700211 android:exported="true"
Daniel Sandler325dc232013-06-05 22:57:57 -0400212 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
213 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800214
Martijn Coenenb34811d2012-04-19 09:38:20 -0700215 <meta-data android:name="android.nfc.disable_beam_default"
216 android:value="true" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800217 </application>
218</manifest>