blob: 990bde0b17a528eff7c00e057ba05f86881c83f6 [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">
Sunny Goyal830b5e02015-08-21 09:26:10 -070023 <uses-sdk android:targetSdkVersion="23" 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
Daniel Sandler325dc232013-06-05 22:57:57 -040032 android:name="com.android.launcher3.permission.READ_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080033 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
34 android:protectionLevel="normal"
35 android:label="@string/permlab_read_settings"
36 android:description="@string/permdesc_read_settings"/>
37 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040038 android:name="com.android.launcher3.permission.WRITE_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080039 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Winson Chungc66109c2014-02-26 11:50:46 -080040 android:protectionLevel="signatureOrSystem"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080041 android:label="@string/permlab_write_settings"
42 android:description="@string/permdesc_write_settings"/>
Daniel Sandlerff02d492013-08-05 02:12:05 -040043 <permission
44 android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"
45 android:protectionLevel="signature"
46 />
Adam Cohen3ed316a2014-07-23 18:21:20 -070047 <permission
48 android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST"
49 android:protectionLevel="signatureOrSystem" />
Daniel Sandlerff02d492013-08-05 02:12:05 -040050
The Android Open Source Project31dd5032009-03-03 19:32:27 -080051 <uses-permission android:name="android.permission.CALL_PHONE" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080052 <uses-permission android:name="android.permission.SET_WALLPAPER" />
53 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
54 <uses-permission android:name="android.permission.VIBRATE" />
Jeff Sharkey6d3bfe52009-05-07 16:12:05 -070055 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
John Spurlock2c38e702013-09-18 10:48:25 -040056 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Sunny Goyalf599ccf2014-07-08 13:01:29 -070057 <uses-permission android:name="android.permission.BROADCAST_STICKY"/>
58 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Adam Cohene25af792013-06-06 23:08:25 -070059 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
60 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
Daniel Sandler325dc232013-06-05 22:57:57 -040061 <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
62 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
Daniel Sandlerff02d492013-08-05 02:12:05 -040063 <uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" />
Adam Cohena388a142014-07-31 09:45:58 -070064 <uses-permission android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST" />
Adam Cohen76fc0852011-06-17 13:26:23 -070065
The Android Open Source Project31dd5032009-03-03 19:32:27 -080066 <application
Sunny Goyal0fc1be12014-08-11 17:05:23 -070067 android:allowBackup="@bool/enable_backup"
68 android:backupAgent="com.android.launcher3.LauncherBackupAgentHelper"
Michael Jurka14c5a2c2012-06-28 13:45:33 -070069 android:hardwareAccelerated="true"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070070 android:icon="@mipmap/ic_launcher_home"
Sunny Goyal28c6b962015-10-12 11:42:05 -070071 android:label="@string/app_name"
Fabrice Di Meglio369dd0c2012-09-24 17:30:22 -070072 android:largeHeap="@bool/config_largeHeap"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070073 android:restoreAnyVersion="true"
74 android:supportsRtl="true" >
75
The Android Open Source Project31dd5032009-03-03 19:32:27 -080076 <activity
Daniel Sandler325dc232013-06-05 22:57:57 -040077 android:name="com.android.launcher3.Launcher"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080078 android:launchMode="singleTask"
79 android:clearTaskOnLaunch="true"
80 android:stateNotNeeded="true"
Adam Cohen81e2b9b2011-06-27 18:59:37 -070081 android:theme="@style/Theme"
Adam Cohen446e9402011-09-15 18:21:21 -070082 android:windowSoftInputMode="adjustPan"
Adam Cohenc2d6e892014-10-16 09:49:24 -070083 android:screenOrientation="nosensor"
Sunny Goyald9bb1b42015-10-14 11:53:04 -070084 android:configChanges="keyboard|keyboardHidden|navigation"
Winson Chung761e8202015-06-01 12:38:30 -070085 android:resumeWhilePausing="true"
Adam Cohen1c524882015-06-23 18:06:37 -070086 android:taskAffinity=""
Adam Cohenc2d6e892014-10-16 09:49:24 -070087 android:enabled="true">
88 <intent-filter>
89 <action android:name="android.intent.action.MAIN" />
90 <category android:name="android.intent.category.HOME" />
91 <category android:name="android.intent.category.DEFAULT" />
92 <category android:name="android.intent.category.MONKEY"/>
93 </intent-filter>
94 </activity>
95
Adam Cohen39a06042013-07-19 14:30:12 -070096 <activity
Sunny Goyal6a1e95a2015-03-20 17:26:30 -070097 android:name="com.android.launcher3.WallpaperPickerActivity"
Selim Cinekffed6582014-02-28 17:18:59 +010098 android:theme="@style/Theme.WallpaperPicker"
Michael Jurka104c4562013-07-08 18:03:46 -070099 android:label="@string/pick_wallpaper"
100 android:icon="@mipmap/ic_launcher_wallpaper"
101 android:finishOnCloseSystemDialogs="true"
102 android:process=":wallpaper_chooser">
103 <intent-filter>
Michael Jurkaadc574c2013-09-12 00:05:02 +0200104 <action android:name="android.intent.action.SET_WALLPAPER" />
Michael Jurka104c4562013-07-08 18:03:46 -0700105 <category android:name="android.intent.category.DEFAULT" />
106 </intent-filter>
Michael Jurka104c4562013-07-08 18:03:46 -0700107 </activity>
108
Michael Jurka2d8de582013-09-04 14:42:52 +0200109 <activity
110 android:name="com.android.launcher3.WallpaperCropActivity"
Michael Jurkaadc574c2013-09-12 00:05:02 +0200111 android:theme="@style/Theme.WallpaperCropper"
112 android:label="@string/crop_wallpaper"
Michael Jurka2d8de582013-09-04 14:42:52 +0200113 android:icon="@mipmap/ic_launcher_wallpaper"
114 android:finishOnCloseSystemDialogs="true"
115 android:process=":wallpaper_chooser">
116 <intent-filter>
Michael Jurkaadc574c2013-09-12 00:05:02 +0200117 <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
Michael Jurka2d8de582013-09-04 14:42:52 +0200118 <category android:name="android.intent.category.DEFAULT" />
Michael Jurkaadc574c2013-09-12 00:05:02 +0200119 <data android:mimeType="image/*" />
Michael Jurka2d8de582013-09-04 14:42:52 +0200120 </intent-filter>
121 </activity>
Michael Jurka104c4562013-07-08 18:03:46 -0700122
Rahul Chaturvedi7fc77ca2015-05-19 18:02:16 -0700123 <activity
124 android:name="com.android.launcher3.SettingsActivity"
125 android:label="@string/settings_button_text"
Rahul Chaturvedi799aa042015-06-01 21:26:41 -0400126 android:autoRemoveFromRecents="true"
127 android:process=":settings_process">
Rahul Chaturvedi7fc77ca2015-05-19 18:02:16 -0700128 </activity>
129
Michael Jurkaa6a05472013-11-13 17:59:46 +0100130 <receiver
131 android:name="com.android.launcher3.WallpaperChangedReceiver">
132 <intent-filter>
133 <action android:name="android.intent.action.WALLPAPER_CHANGED" />
134 </intent-filter>
135 </receiver>
136
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800137 <!-- Intent received used to install shortcuts from other applications -->
138 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400139 android:name="com.android.launcher3.InstallShortcutReceiver"
Sunny Goyal9b8da882014-09-05 04:40:13 -0700140 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800141 <intent-filter>
Sunny Goyal9b8da882014-09-05 04:40:13 -0700142 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800143 </intent-filter>
144 </receiver>
145
Sunny Goyal651077b2014-06-30 14:15:31 -0700146 <!-- Intent received used to initialize a restored widget -->
147 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
148 <intent-filter>
149 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
150 </intent-filter>
151 </receiver>
152
Sunny Goyalf599ccf2014-07-08 13:01:29 -0700153 <receiver android:name="com.android.launcher3.StartupReceiver" >
154 <intent-filter>
155 <action android:name="android.intent.action.BOOT_COMPLETED" />
156 </intent-filter>
157 </receiver>
158
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800159 <!-- The settings provider contains Home's data, like the workspace favorites -->
160 <provider
Daniel Sandler325dc232013-06-05 22:57:57 -0400161 android:name="com.android.launcher3.LauncherProvider"
162 android:authorities="com.android.launcher3.settings"
Nick Kralevichebe65592012-07-28 16:11:07 -0700163 android:exported="true"
Daniel Sandler325dc232013-06-05 22:57:57 -0400164 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
165 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800166
Martijn Coenenb34811d2012-04-19 09:38:20 -0700167 <meta-data android:name="android.nfc.disable_beam_default"
168 android:value="true" />
Sunny Goyald3060552015-06-25 19:35:49 -0700169
170 <!-- ENABLE_FOR_TESTING
171
172 <activity
173 android:name="com.android.launcher3.testing.LauncherExtension"
174 android:launchMode="singleTask"
175 android:clearTaskOnLaunch="true"
176 android:stateNotNeeded="true"
177 android:theme="@style/Theme"
178 android:windowSoftInputMode="adjustPan"
179 android:screenOrientation="nosensor"
180 >
181 <intent-filter>
182 <action android:name="android.intent.action.MAIN" />
183 <category android:name="android.intent.category.HOME" />
184 <category android:name="android.intent.category.DEFAULT" />
185 <category android:name="android.intent.category.MONKEY"/>
186 </intent-filter>
187 </activity>
188
189 <activity
190 android:name="com.android.launcher3.testing.MemoryDumpActivity"
191 android:theme="@android:style/Theme.NoDisplay"
192 android:label="* HPROF"
193 android:excludeFromRecents="true"
194 android:icon="@mipmap/ic_launcher_home"
195 >
196 <intent-filter>
197 <action android:name="android.intent.action.MAIN" />
198 <category android:name="android.intent.category.DEFAULT" />
199 <category android:name="android.intent.category.LAUNCHER" />
200 </intent-filter>
201 </activity>
202
203 <activity
204 android:name="com.android.launcher3.testing.ToggleWeightWatcher"
205 android:label="Show Mem"
206 android:icon="@mipmap/ic_launcher_home">
207 <intent-filter>
208 <action android:name="android.intent.action.MAIN" />
209 <category android:name="android.intent.category.DEFAULT" />
210 <category android:name="android.intent.category.LAUNCHER" />
211 </intent-filter>
212 </activity>
213
214 <service android:name="com.android.launcher3.testing.MemoryTracker" />
215
216 -->
217
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800218 </application>
219</manifest>