blob: e30938598161abbe4c34100c90facaaedbbc11e3 [file] [log] [blame]
Filiped63c86b2015-07-31 12:29:22 +00001<?xml version="1.0" encoding="utf-8"?><!--
The Android Open Source Project31dd5032009-03-03 19:32:27 -08002/*
3**
4** Copyright 2008, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10** http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
Filiped63c86b2015-07-31 12:29:22 +000019<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Jose Pascoal05218202014-11-19 11:17:38 +000020 package="com.fairphone.fplauncher3"
Filipe50b01712015-12-01 16:31:59 +000021 android:versionCode="3"
22 android:versionName="3 (FP2 - 1.1)">
Filiped63c86b2015-07-31 12:29:22 +000023
24 <uses-sdk
25 android:minSdkVersion="17"
26 android:targetSdkVersion="21" />
Jeff Hamilton95db7372010-02-11 16:25:50 -060027
The Android Open Source Project31dd5032009-03-03 19:32:27 -080028 <permission
Winson Chung94d67682013-09-25 16:29:40 -070029 android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
Filiped63c86b2015-07-31 12:29:22 +000030 android:description="@string/permdesc_install_shortcut"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080031 android:label="@string/permlab_install_shortcut"
Filiped63c86b2015-07-31 12:29:22 +000032 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
33 android:protectionLevel="dangerous" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080034 <permission
Winson Chung94d67682013-09-25 16:29:40 -070035 android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
Filiped63c86b2015-07-31 12:29:22 +000036 android:description="@string/permdesc_uninstall_shortcut"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080037 android:label="@string/permlab_uninstall_shortcut"
Filiped63c86b2015-07-31 12:29:22 +000038 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
39 android:protectionLevel="dangerous" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080040 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040041 android:name="com.android.launcher3.permission.READ_SETTINGS"
Filiped63c86b2015-07-31 12:29:22 +000042 android:description="@string/permdesc_read_settings"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080043 android:label="@string/permlab_read_settings"
Filiped63c86b2015-07-31 12:29:22 +000044 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
45 android:protectionLevel="normal" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080046 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040047 android:name="com.android.launcher3.permission.WRITE_SETTINGS"
Filiped63c86b2015-07-31 12:29:22 +000048 android:description="@string/permdesc_write_settings"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080049 android:label="@string/permlab_write_settings"
Filiped63c86b2015-07-31 12:29:22 +000050 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
51 android:protectionLevel="signatureOrSystem" />
Daniel Sandlerff02d492013-08-05 02:12:05 -040052 <permission
53 android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"
Filiped63c86b2015-07-31 12:29:22 +000054 android:protectionLevel="signature" />
Adam Cohen3ed316a2014-07-23 18:21:20 -070055 <permission
56 android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST"
57 android:protectionLevel="signatureOrSystem" />
Daniel Sandlerff02d492013-08-05 02:12:05 -040058
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" />
Filiped63c86b2015-07-31 12:29:22 +000066 <uses-permission android:name="android.permission.BROADCAST_STICKY" />
Sunny Goyalf599ccf2014-07-08 13:01:29 -070067 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Adam Cohene25af792013-06-06 23:08:25 -070068 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
69 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
Daniel Sandler325dc232013-06-05 22:57:57 -040070 <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
71 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
Daniel Sandlerff02d492013-08-05 02:12:05 -040072 <uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" />
Adam Cohena388a142014-07-31 09:45:58 -070073 <uses-permission android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST" />
Filiped63c86b2015-07-31 12:29:22 +000074 <uses-permission android:name="android.permission.INTERNET" />
Jose Pascoalad4db662014-11-24 18:53:12 +000075 <uses-permission android:name="android.permission.READ_CONTACTS" />
76 <uses-permission android:name="android.permission.SEND_SMS" />
77 <uses-permission android:name="android.permission.READ_SMS" />
78 <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
Adam Cohen76fc0852011-06-17 13:26:23 -070079
The Android Open Source Project31dd5032009-03-03 19:32:27 -080080 <application
Jose Pascoal05218202014-11-19 11:17:38 +000081 android:name="com.fairphone.fplauncher3.LauncherApplication"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070082 android:allowBackup="@bool/enable_backup"
Jose Pascoal05218202014-11-19 11:17:38 +000083 android:backupAgent="com.fairphone.fplauncher3.LauncherBackupAgentHelper"
Michael Jurka14c5a2c2012-06-28 13:45:33 -070084 android:hardwareAccelerated="true"
Filiped63c86b2015-07-31 12:29:22 +000085 android:icon="@mipmap/icon_launcher"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070086 android:label="@string/application_name"
Fabrice Di Meglio369dd0c2012-09-24 17:30:22 -070087 android:largeHeap="@bool/config_largeHeap"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070088 android:restoreAnyVersion="true"
Filiped63c86b2015-07-31 12:29:22 +000089 android:supportsRtl="true">
Sunny Goyal0fc1be12014-08-11 17:05:23 -070090
The Android Open Source Project31dd5032009-03-03 19:32:27 -080091 <activity
Jose Pascoal05218202014-11-19 11:17:38 +000092 android:name="com.fairphone.fplauncher3.Launcher"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080093 android:clearTaskOnLaunch="true"
Filiped63c86b2015-07-31 12:29:22 +000094 android:launchMode="singleTask"
95 android:screenOrientation="nosensor"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080096 android:stateNotNeeded="true"
Jose Pascoal7431fdd2015-06-04 12:29:22 -060097 android:theme="@android:style/Theme.DeviceDefault.Wallpaper.NoTitleBar"
Filiped63c86b2015-07-31 12:29:22 +000098 android:windowSoftInputMode="adjustPan">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080099 <intent-filter>
100 <action android:name="android.intent.action.MAIN" />
Filiped63c86b2015-07-31 12:29:22 +0000101
Joe Onorato7b7a2cd2009-09-23 08:32:02 -0700102 <category android:name="android.intent.category.HOME" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800103 <category android:name="android.intent.category.DEFAULT" />
Filiped63c86b2015-07-31 12:29:22 +0000104 <category android:name="android.intent.category.MONKEY" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800105 </intent-filter>
106 </activity>
107
108 <activity
Jose Pascoal05218202014-11-19 11:17:38 +0000109 android:name="com.fairphone.fplauncher3.ToggleWeightWatcher"
Daniel Sandler826420b2013-08-23 00:45:46 -0400110 android:enabled="@bool/debug_memory_enabled"
Filiped63c86b2015-07-31 12:29:22 +0000111 android:icon="@mipmap/icon_launcher"
112 android:label="@string/toggle_weight_watcher">
Adam Cohen39a06042013-07-19 14:30:12 -0700113 <intent-filter>
114 <action android:name="android.intent.action.MAIN" />
Filiped63c86b2015-07-31 12:29:22 +0000115
Adam Cohen39a06042013-07-19 14:30:12 -0700116 <category android:name="android.intent.category.DEFAULT" />
117 <category android:name="android.intent.category.LAUNCHER" />
118 </intent-filter>
119 </activity>
120
121 <activity
Jose Pascoal05218202014-11-19 11:17:38 +0000122 android:name="com.fairphone.fplauncher3.LauncherWallpaperPickerActivity"
Michael Jurka104c4562013-07-08 18:03:46 -0700123 android:finishOnCloseSystemDialogs="true"
Filiped63c86b2015-07-31 12:29:22 +0000124 android:icon="@mipmap/ic_launcher_wallpaper"
125 android:label="@string/pick_wallpaper"
126 android:process=":wallpaper_chooser"
127 android:theme="@style/Theme.WallpaperPicker">
Michael Jurka104c4562013-07-08 18:03:46 -0700128 <intent-filter>
Michael Jurkaadc574c2013-09-12 00:05:02 +0200129 <action android:name="android.intent.action.SET_WALLPAPER" />
Michael Jurka104c4562013-07-08 18:03:46 -0700130 <category android:name="android.intent.category.DEFAULT" />
131 </intent-filter>
Michael Jurka104c4562013-07-08 18:03:46 -0700132 </activity>
133
Michael Jurka2d8de582013-09-04 14:42:52 +0200134 <activity
Jose Pascoal05218202014-11-19 11:17:38 +0000135 android:name="com.fairphone.fplauncher3.WallpaperCropActivity"
Michael Jurka2d8de582013-09-04 14:42:52 +0200136 android:finishOnCloseSystemDialogs="true"
Filiped63c86b2015-07-31 12:29:22 +0000137 android:icon="@mipmap/ic_launcher_wallpaper"
138 android:label="@string/crop_wallpaper"
139 android:process=":wallpaper_chooser"
140 android:theme="@style/Theme.WallpaperCropper">
Michael Jurka2d8de582013-09-04 14:42:52 +0200141 <intent-filter>
Michael Jurkaadc574c2013-09-12 00:05:02 +0200142 <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
Michael Jurka2d8de582013-09-04 14:42:52 +0200143 <category android:name="android.intent.category.DEFAULT" />
Michael Jurkaadc574c2013-09-12 00:05:02 +0200144 <data android:mimeType="image/*" />
Michael Jurka2d8de582013-09-04 14:42:52 +0200145 </intent-filter>
146 </activity>
Michael Jurka104c4562013-07-08 18:03:46 -0700147
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400148 <!-- Debugging tools -->
149 <activity
Jose Pascoal05218202014-11-19 11:17:38 +0000150 android:name="com.fairphone.fplauncher3.MemoryDumpActivity"
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400151 android:enabled="@bool/debug_memory_enabled"
Daniel Sandler8540bb82013-06-26 01:39:02 -0400152 android:excludeFromRecents="true"
Filiped63c86b2015-07-31 12:29:22 +0000153 android:icon="@mipmap/icon_launcher"
154 android:label="@string/debug_memory_activity"
155 android:theme="@android:style/Theme.NoDisplay">
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400156 <intent-filter>
157 <action android:name="android.intent.action.MAIN" />
Filiped63c86b2015-07-31 12:29:22 +0000158
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400159 <category android:name="android.intent.category.DEFAULT" />
160 <category android:name="android.intent.category.LAUNCHER" />
161 </intent-filter>
162 </activity>
163
Filiped63c86b2015-07-31 12:29:22 +0000164 <service
165 android:name="com.fairphone.fplauncher3.MemoryTracker"
166 android:enabled="@bool/debug_memory_enabled"></service>
Daniel Sandlerb9eb2862013-06-14 20:17:30 -0400167
Filiped63c86b2015-07-31 12:29:22 +0000168 <receiver android:name="com.fairphone.fplauncher3.WallpaperChangedReceiver">
Michael Jurkaa6a05472013-11-13 17:59:46 +0100169 <intent-filter>
170 <action android:name="android.intent.action.WALLPAPER_CHANGED" />
171 </intent-filter>
172 </receiver>
173
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800174 <!-- Intent received used to install shortcuts from other applications -->
175 <receiver
Jose Pascoal05218202014-11-19 11:17:38 +0000176 android:name="com.fairphone.fplauncher3.InstallShortcutReceiver"
Sunny Goyal9b8da882014-09-05 04:40:13 -0700177 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800178 <intent-filter>
Sunny Goyal9b8da882014-09-05 04:40:13 -0700179 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800180 </intent-filter>
181 </receiver>
182
183 <!-- Intent received used to uninstall shortcuts from other applications -->
184 <receiver
Jose Pascoal05218202014-11-19 11:17:38 +0000185 android:name="com.fairphone.fplauncher3.UninstallShortcutReceiver"
Sunny Goyal9b8da882014-09-05 04:40:13 -0700186 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800187 <intent-filter>
Sunny Goyal9b8da882014-09-05 04:40:13 -0700188 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800189 </intent-filter>
190 </receiver>
191
Sunny Goyal651077b2014-06-30 14:15:31 -0700192 <!-- Intent received used to initialize a restored widget -->
Filiped63c86b2015-07-31 12:29:22 +0000193 <receiver android:name="com.fairphone.fplauncher3.AppWidgetsRestoredReceiver">
Sunny Goyal651077b2014-06-30 14:15:31 -0700194 <intent-filter>
Filiped63c86b2015-07-31 12:29:22 +0000195 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED" />
Sunny Goyal651077b2014-06-30 14:15:31 -0700196 </intent-filter>
197 </receiver>
198
Dianne Hackborn804503c2012-09-16 00:00:27 -0700199 <!-- New user initialization; set up initial wallpaper -->
200 <receiver
Jose Pascoal05218202014-11-19 11:17:38 +0000201 android:name="com.fairphone.fplauncher3.UserInitializeReceiver"
Dianne Hackborn804503c2012-09-16 00:00:27 -0700202 android:exported="false">
203 <intent-filter>
204 <action android:name="android.intent.action.USER_INITIALIZE" />
205 </intent-filter>
206 </receiver>
Michael Jurka05713af2013-01-23 12:39:24 +0100207
Filiped63c86b2015-07-31 12:29:22 +0000208 <receiver android:name="com.fairphone.fplauncher3.PackageChangedReceiver">
Michael Jurka05713af2013-01-23 12:39:24 +0100209 <intent-filter>
Filiped63c86b2015-07-31 12:29:22 +0000210 <action android:name="android.intent.action.PACKAGE_CHANGED" />
211 <action android:name="android.intent.action.PACKAGE_REPLACED" />
212 <action android:name="android.intent.action.PACKAGE_REMOVED" />
213
Michael Jurka05713af2013-01-23 12:39:24 +0100214 <data android:scheme="package"></data>
215 </intent-filter>
216 </receiver>
217
Filiped63c86b2015-07-31 12:29:22 +0000218 <receiver android:name="com.fairphone.fplauncher3.StartupReceiver">
Sunny Goyalf599ccf2014-07-08 13:01:29 -0700219 <intent-filter>
220 <action android:name="android.intent.action.BOOT_COMPLETED" />
221 </intent-filter>
222 </receiver>
223
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800224 <!-- The settings provider contains Home's data, like the workspace favorites -->
225 <provider
Jose Pascoal05218202014-11-19 11:17:38 +0000226 android:name="com.fairphone.fplauncher3.LauncherProvider"
Jose Pascoal84774db2014-11-19 18:24:40 +0000227 android:authorities="com.fairphone.fplauncher3.settings"
Nick Kralevichebe65592012-07-28 16:11:07 -0700228 android:exported="true"
Filiped63c86b2015-07-31 12:29:22 +0000229 android:readPermission="com.android.launcher3.permission.READ_SETTINGS"
230 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800231
Filiped63c86b2015-07-31 12:29:22 +0000232 <meta-data
233 android:name="android.nfc.disable_beam_default"
234 android:value="true" />
235
236 <meta-data
237 android:name="com.crashlytics.ApiKey"
238 android:value="743d6f60e29372e7b75de8137a5585979710dd7a" />
239
Jose Pascoald1f7ac92014-11-25 19:12:02 +0000240 <activity
241 android:name="com.fairphone.fplauncher3.edgeswipe.editor.EditFavoritesActivity"
242 android:screenOrientation="portrait"
243 android:theme="@style/Theme" />
Filiped63c86b2015-07-31 12:29:22 +0000244
245 <activity
246 android:name="com.fairphone.fplauncher3.oobe.OOBEActivity"
247 android:screenOrientation="portrait"
248 android:theme="@style/OOBETheme" />
249
Jose Pascoalca875e52014-11-24 12:34:59 +0000250 <!-- Widget -->
251 <receiver
252 android:name="com.fairphone.fplauncher3.widgets.appswitcher.AppSwitcherWidget"
Filiped63c86b2015-07-31 12:29:22 +0000253 android:label="@string/app_switcher_name">
Jose Pascoalca875e52014-11-24 12:34:59 +0000254 <intent-filter>
255 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
256 </intent-filter>
257
258 <meta-data
259 android:name="android.appwidget.provider"
260 android:resource="@xml/appswitcher_widget" />
261 </receiver>
Filiped63c86b2015-07-31 12:29:22 +0000262 <receiver
263 android:name="com.fairphone.fplauncher3.widgets.allappswidget.AllAppsWidget"
264 android:label="@string/fp_all_apps_widget_name">
265 <intent-filter>
266 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
267 </intent-filter>
268
269 <meta-data
270 android:name="android.appwidget.provider"
271 android:resource="@xml/all_apps_widget" />
272 </receiver>
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800273 </application>
274</manifest>