blob: 32bd6fd2a7d9043634d7da2b388f86b7aa719c89 [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"
telmo.agostinhocb034ea2016-06-03 15:33:23 +000021 android:versionCode="7"
22 android:versionName="7 (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" />
Filipe Gonçalves312cb312016-05-04 15:33:43 +010079 <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
Adam Cohen76fc0852011-06-17 13:26:23 -070080
The Android Open Source Project31dd5032009-03-03 19:32:27 -080081 <application
Jose Pascoal05218202014-11-19 11:17:38 +000082 android:name="com.fairphone.fplauncher3.LauncherApplication"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070083 android:allowBackup="@bool/enable_backup"
Jose Pascoal05218202014-11-19 11:17:38 +000084 android:backupAgent="com.fairphone.fplauncher3.LauncherBackupAgentHelper"
Michael Jurka14c5a2c2012-06-28 13:45:33 -070085 android:hardwareAccelerated="true"
Filiped63c86b2015-07-31 12:29:22 +000086 android:icon="@mipmap/icon_launcher"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070087 android:label="@string/application_name"
Fabrice Di Meglio369dd0c2012-09-24 17:30:22 -070088 android:largeHeap="@bool/config_largeHeap"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070089 android:restoreAnyVersion="true"
Filiped63c86b2015-07-31 12:29:22 +000090 android:supportsRtl="true">
Sunny Goyal0fc1be12014-08-11 17:05:23 -070091
The Android Open Source Project31dd5032009-03-03 19:32:27 -080092 <activity
Jose Pascoal05218202014-11-19 11:17:38 +000093 android:name="com.fairphone.fplauncher3.Launcher"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080094 android:clearTaskOnLaunch="true"
Filiped63c86b2015-07-31 12:29:22 +000095 android:launchMode="singleTask"
96 android:screenOrientation="nosensor"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080097 android:stateNotNeeded="true"
Jose Pascoal7431fdd2015-06-04 12:29:22 -060098 android:theme="@android:style/Theme.DeviceDefault.Wallpaper.NoTitleBar"
Filiped63c86b2015-07-31 12:29:22 +000099 android:windowSoftInputMode="adjustPan">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800100 <intent-filter>
101 <action android:name="android.intent.action.MAIN" />
Filiped63c86b2015-07-31 12:29:22 +0000102
Joe Onorato7b7a2cd2009-09-23 08:32:02 -0700103 <category android:name="android.intent.category.HOME" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800104 <category android:name="android.intent.category.DEFAULT" />
Filiped63c86b2015-07-31 12:29:22 +0000105 <category android:name="android.intent.category.MONKEY" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800106 </intent-filter>
107 </activity>
108
109 <activity
Jose Pascoal05218202014-11-19 11:17:38 +0000110 android:name="com.fairphone.fplauncher3.ToggleWeightWatcher"
Daniel Sandler826420b2013-08-23 00:45:46 -0400111 android:enabled="@bool/debug_memory_enabled"
Filiped63c86b2015-07-31 12:29:22 +0000112 android:icon="@mipmap/icon_launcher"
113 android:label="@string/toggle_weight_watcher">
Adam Cohen39a06042013-07-19 14:30:12 -0700114 <intent-filter>
115 <action android:name="android.intent.action.MAIN" />
Filiped63c86b2015-07-31 12:29:22 +0000116
Adam Cohen39a06042013-07-19 14:30:12 -0700117 <category android:name="android.intent.category.DEFAULT" />
118 <category android:name="android.intent.category.LAUNCHER" />
119 </intent-filter>
120 </activity>
121
122 <activity
Jose Pascoal05218202014-11-19 11:17:38 +0000123 android:name="com.fairphone.fplauncher3.LauncherWallpaperPickerActivity"
Michael Jurka104c4562013-07-08 18:03:46 -0700124 android:finishOnCloseSystemDialogs="true"
Filiped63c86b2015-07-31 12:29:22 +0000125 android:icon="@mipmap/ic_launcher_wallpaper"
126 android:label="@string/pick_wallpaper"
127 android:process=":wallpaper_chooser"
128 android:theme="@style/Theme.WallpaperPicker">
Michael Jurka104c4562013-07-08 18:03:46 -0700129 <intent-filter>
Michael Jurkaadc574c2013-09-12 00:05:02 +0200130 <action android:name="android.intent.action.SET_WALLPAPER" />
Michael Jurka104c4562013-07-08 18:03:46 -0700131 <category android:name="android.intent.category.DEFAULT" />
132 </intent-filter>
Michael Jurka104c4562013-07-08 18:03:46 -0700133 </activity>
134
Michael Jurka2d8de582013-09-04 14:42:52 +0200135 <activity
Jose Pascoal05218202014-11-19 11:17:38 +0000136 android:name="com.fairphone.fplauncher3.WallpaperCropActivity"
Michael Jurka2d8de582013-09-04 14:42:52 +0200137 android:finishOnCloseSystemDialogs="true"
Filiped63c86b2015-07-31 12:29:22 +0000138 android:icon="@mipmap/ic_launcher_wallpaper"
139 android:label="@string/crop_wallpaper"
140 android:process=":wallpaper_chooser"
141 android:theme="@style/Theme.WallpaperCropper">
Michael Jurka2d8de582013-09-04 14:42:52 +0200142 <intent-filter>
Michael Jurkaadc574c2013-09-12 00:05:02 +0200143 <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
Michael Jurka2d8de582013-09-04 14:42:52 +0200144 <category android:name="android.intent.category.DEFAULT" />
Michael Jurkaadc574c2013-09-12 00:05:02 +0200145 <data android:mimeType="image/*" />
Michael Jurka2d8de582013-09-04 14:42:52 +0200146 </intent-filter>
147 </activity>
Michael Jurka104c4562013-07-08 18:03:46 -0700148
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400149 <!-- Debugging tools -->
150 <activity
Jose Pascoal05218202014-11-19 11:17:38 +0000151 android:name="com.fairphone.fplauncher3.MemoryDumpActivity"
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400152 android:enabled="@bool/debug_memory_enabled"
Daniel Sandler8540bb82013-06-26 01:39:02 -0400153 android:excludeFromRecents="true"
Filiped63c86b2015-07-31 12:29:22 +0000154 android:icon="@mipmap/icon_launcher"
155 android:label="@string/debug_memory_activity"
156 android:theme="@android:style/Theme.NoDisplay">
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400157 <intent-filter>
158 <action android:name="android.intent.action.MAIN" />
Filiped63c86b2015-07-31 12:29:22 +0000159
Daniel Sandlera127b7a2013-06-17 14:25:46 -0400160 <category android:name="android.intent.category.DEFAULT" />
161 <category android:name="android.intent.category.LAUNCHER" />
162 </intent-filter>
163 </activity>
164
Filiped63c86b2015-07-31 12:29:22 +0000165 <service
166 android:name="com.fairphone.fplauncher3.MemoryTracker"
167 android:enabled="@bool/debug_memory_enabled"></service>
Daniel Sandlerb9eb2862013-06-14 20:17:30 -0400168
Filiped63c86b2015-07-31 12:29:22 +0000169 <receiver android:name="com.fairphone.fplauncher3.WallpaperChangedReceiver">
Michael Jurkaa6a05472013-11-13 17:59:46 +0100170 <intent-filter>
171 <action android:name="android.intent.action.WALLPAPER_CHANGED" />
172 </intent-filter>
173 </receiver>
174
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800175 <!-- Intent received used to install shortcuts from other applications -->
176 <receiver
Jose Pascoal05218202014-11-19 11:17:38 +0000177 android:name="com.fairphone.fplauncher3.InstallShortcutReceiver"
Sunny Goyal9b8da882014-09-05 04:40:13 -0700178 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800179 <intent-filter>
Sunny Goyal9b8da882014-09-05 04:40:13 -0700180 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800181 </intent-filter>
182 </receiver>
183
184 <!-- Intent received used to uninstall shortcuts from other applications -->
185 <receiver
Jose Pascoal05218202014-11-19 11:17:38 +0000186 android:name="com.fairphone.fplauncher3.UninstallShortcutReceiver"
Sunny Goyal9b8da882014-09-05 04:40:13 -0700187 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800188 <intent-filter>
Sunny Goyal9b8da882014-09-05 04:40:13 -0700189 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800190 </intent-filter>
191 </receiver>
192
Sunny Goyal651077b2014-06-30 14:15:31 -0700193 <!-- Intent received used to initialize a restored widget -->
Filiped63c86b2015-07-31 12:29:22 +0000194 <receiver android:name="com.fairphone.fplauncher3.AppWidgetsRestoredReceiver">
Sunny Goyal651077b2014-06-30 14:15:31 -0700195 <intent-filter>
Filiped63c86b2015-07-31 12:29:22 +0000196 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED" />
Sunny Goyal651077b2014-06-30 14:15:31 -0700197 </intent-filter>
198 </receiver>
199
Dianne Hackborn804503c2012-09-16 00:00:27 -0700200 <!-- New user initialization; set up initial wallpaper -->
201 <receiver
Jose Pascoal05218202014-11-19 11:17:38 +0000202 android:name="com.fairphone.fplauncher3.UserInitializeReceiver"
Dianne Hackborn804503c2012-09-16 00:00:27 -0700203 android:exported="false">
204 <intent-filter>
205 <action android:name="android.intent.action.USER_INITIALIZE" />
206 </intent-filter>
207 </receiver>
Michael Jurka05713af2013-01-23 12:39:24 +0100208
Filiped63c86b2015-07-31 12:29:22 +0000209 <receiver android:name="com.fairphone.fplauncher3.PackageChangedReceiver">
Michael Jurka05713af2013-01-23 12:39:24 +0100210 <intent-filter>
Filiped63c86b2015-07-31 12:29:22 +0000211 <action android:name="android.intent.action.PACKAGE_CHANGED" />
212 <action android:name="android.intent.action.PACKAGE_REPLACED" />
213 <action android:name="android.intent.action.PACKAGE_REMOVED" />
214
Michael Jurka05713af2013-01-23 12:39:24 +0100215 <data android:scheme="package"></data>
216 </intent-filter>
217 </receiver>
218
Filiped63c86b2015-07-31 12:29:22 +0000219 <receiver android:name="com.fairphone.fplauncher3.StartupReceiver">
Sunny Goyalf599ccf2014-07-08 13:01:29 -0700220 <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
Jose Pascoal05218202014-11-19 11:17:38 +0000227 android:name="com.fairphone.fplauncher3.LauncherProvider"
Jose Pascoal84774db2014-11-19 18:24:40 +0000228 android:authorities="com.fairphone.fplauncher3.settings"
Nick Kralevichebe65592012-07-28 16:11:07 -0700229 android:exported="true"
Filiped63c86b2015-07-31 12:29:22 +0000230 android:readPermission="com.android.launcher3.permission.READ_SETTINGS"
231 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800232
Filiped63c86b2015-07-31 12:29:22 +0000233 <meta-data
234 android:name="android.nfc.disable_beam_default"
235 android:value="true" />
236
237 <meta-data
238 android:name="com.crashlytics.ApiKey"
239 android:value="743d6f60e29372e7b75de8137a5585979710dd7a" />
240
Jose Pascoald1f7ac92014-11-25 19:12:02 +0000241 <activity
242 android:name="com.fairphone.fplauncher3.edgeswipe.editor.EditFavoritesActivity"
243 android:screenOrientation="portrait"
244 android:theme="@style/Theme" />
Filiped63c86b2015-07-31 12:29:22 +0000245
246 <activity
247 android:name="com.fairphone.fplauncher3.oobe.OOBEActivity"
248 android:screenOrientation="portrait"
249 android:theme="@style/OOBETheme" />
250
Jose Pascoalca875e52014-11-24 12:34:59 +0000251 <!-- Widget -->
252 <receiver
253 android:name="com.fairphone.fplauncher3.widgets.appswitcher.AppSwitcherWidget"
Filiped63c86b2015-07-31 12:29:22 +0000254 android:label="@string/app_switcher_name">
Jose Pascoalca875e52014-11-24 12:34:59 +0000255 <intent-filter>
256 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
257 </intent-filter>
258
259 <meta-data
260 android:name="android.appwidget.provider"
261 android:resource="@xml/appswitcher_widget" />
262 </receiver>
Filiped63c86b2015-07-31 12:29:22 +0000263 <receiver
264 android:name="com.fairphone.fplauncher3.widgets.allappswidget.AllAppsWidget"
265 android:label="@string/fp_all_apps_widget_name">
266 <intent-filter>
267 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
268 </intent-filter>
269
270 <meta-data
271 android:name="android.appwidget.provider"
272 android:resource="@xml/all_apps_widget" />
273 </receiver>
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800274 </application>
275</manifest>