blob: e205fea9ed13b599edc296b00b3d99d8b31243cd [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">
Jeff Hamilton95db7372010-02-11 16:25:50 -060023
The Android Open Source Project31dd5032009-03-03 19:32:27 -080024 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040025 android:name="com.android.launcher3.permission.PRELOAD_WORKSPACE"
Brian Muramatsub6a4d982012-04-24 17:16:04 -070026 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
27 android:protectionLevel="system|signature" />
28 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040029 android:name="com.android.launcher3.permission.INSTALL_SHORTCUT"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080030 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Nick Kralevich33650302012-08-07 10:21:13 -070031 android:protectionLevel="dangerous"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080032 android:label="@string/permlab_install_shortcut"
33 android:description="@string/permdesc_install_shortcut" />
34 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040035 android:name="com.android.launcher3.permission.UNINSTALL_SHORTCUT"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080036 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Nick Kralevich33650302012-08-07 10:21:13 -070037 android:protectionLevel="dangerous"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080038 android:label="@string/permlab_uninstall_shortcut"
39 android:description="@string/permdesc_uninstall_shortcut"/>
40 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040041 android:name="com.android.launcher3.permission.READ_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080042 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
43 android:protectionLevel="normal"
44 android:label="@string/permlab_read_settings"
45 android:description="@string/permdesc_read_settings"/>
46 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040047 android:name="com.android.launcher3.permission.WRITE_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080048 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
49 android:protectionLevel="normal"
50 android:label="@string/permlab_write_settings"
51 android:description="@string/permdesc_write_settings"/>
52
53 <uses-permission android:name="android.permission.CALL_PHONE" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080054 <uses-permission android:name="android.permission.SET_WALLPAPER" />
55 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
56 <uses-permission android:name="android.permission.VIBRATE" />
Jeff Sharkey6d3bfe52009-05-07 16:12:05 -070057 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
Michael Jurka974c3862012-05-22 22:00:31 -070058 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Daniel Sandler325dc232013-06-05 22:57:57 -040059 <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
60 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
Adam Cohen76fc0852011-06-17 13:26:23 -070061
The Android Open Source Project31dd5032009-03-03 19:32:27 -080062 <application
Daniel Sandler325dc232013-06-05 22:57:57 -040063 android:name="com.android.launcher3.LauncherApplication"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080064 android:label="@string/application_name"
Michael Jurka9df38df2012-11-12 18:07:02 -080065 android:icon="@mipmap/ic_launcher_home"
Michael Jurka14c5a2c2012-06-28 13:45:33 -070066 android:hardwareAccelerated="true"
Fabrice Di Meglio369dd0c2012-09-24 17:30:22 -070067 android:largeHeap="@bool/config_largeHeap"
68 android:supportsRtl="true">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080069 <activity
Daniel Sandler325dc232013-06-05 22:57:57 -040070 android:name="com.android.launcher3.Launcher"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080071 android:launchMode="singleTask"
72 android:clearTaskOnLaunch="true"
73 android:stateNotNeeded="true"
Adam Cohen81e2b9b2011-06-27 18:59:37 -070074 android:theme="@style/Theme"
Adam Cohen446e9402011-09-15 18:21:21 -070075 android:windowSoftInputMode="adjustPan"
Jeff Browna6016632012-06-04 14:15:42 -070076 android:screenOrientation="nosensor">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080077 <intent-filter>
78 <action android:name="android.intent.action.MAIN" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070079 <category android:name="android.intent.category.HOME" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080080 <category android:name="android.intent.category.DEFAULT" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070081 <category android:name="android.intent.category.MONKEY"/>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080082 </intent-filter>
83 </activity>
84
85 <activity
Adam Cohenb5fe60c2013-06-06 22:03:51 -070086 android:name="com.android.launcher3.WidgetAdder"
87 android:label="@string/widget_adder"
88 android:icon="@mipmap/ic_launcher_home">
89 <intent-filter>
90 <action android:name="android.intent.action.MAIN" />
91 <category android:name="android.intent.category.DEFAULT" />
92 <category android:name="android.intent.category.LAUNCHER" />
93 </intent-filter>
94 </activity>
95
96 <activity
Daniel Sandler325dc232013-06-05 22:57:57 -040097 android:name="com.android.launcher3.WallpaperChooser"
Michael Jurkaaee3a0e2012-09-24 19:05:00 -070098 android:theme="@style/Theme.WallpaperPicker"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080099 android:label="@string/pick_wallpaper"
Michael Jurka9df38df2012-11-12 18:07:02 -0800100 android:icon="@mipmap/ic_launcher_wallpaper"
Michael Jurka4e01d332011-10-13 06:07:30 -0700101 android:finishOnCloseSystemDialogs="true"
102 android:process=":wallpaper_chooser">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800103 <intent-filter>
104 <action android:name="android.intent.action.SET_WALLPAPER" />
105 <category android:name="android.intent.category.DEFAULT" />
106 </intent-filter>
Adam Cohen4c3733f2011-01-18 17:27:00 -0800107 <meta-data android:name="android.wallpaper.preview"
108 android:resource="@xml/wallpaper_picker_preview" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800109 </activity>
Romain Guy73b979d2009-06-09 12:57:21 -0700110
Brian Muramatsub6a4d982012-04-24 17:16:04 -0700111 <!-- Intent received used to prepopulate the default workspace. -->
112 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400113 android:name="com.android.launcher3.PreloadReceiver"
114 android:permission="com.android.launcher3.permission.PRELOAD_WORKSPACE">
Brian Muramatsub6a4d982012-04-24 17:16:04 -0700115 <intent-filter>
Daniel Sandler325dc232013-06-05 22:57:57 -0400116 <action android:name="com.android.launcher3.action.PRELOAD_WORKSPACE" />
Brian Muramatsub6a4d982012-04-24 17:16:04 -0700117 </intent-filter>
118 </receiver>
119
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800120 <!-- Intent received used to install shortcuts from other applications -->
121 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400122 android:name="com.android.launcher3.InstallShortcutReceiver"
123 android:permission="com.android.launcher3.permission.INSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800124 <intent-filter>
Daniel Sandler325dc232013-06-05 22:57:57 -0400125 <action android:name="com.android.launcher3.action.INSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800126 </intent-filter>
127 </receiver>
128
129 <!-- Intent received used to uninstall shortcuts from other applications -->
130 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400131 android:name="com.android.launcher3.UninstallShortcutReceiver"
132 android:permission="com.android.launcher3.permission.UNINSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800133 <intent-filter>
Daniel Sandler325dc232013-06-05 22:57:57 -0400134 <action android:name="com.android.launcher3.action.UNINSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800135 </intent-filter>
136 </receiver>
137
Dianne Hackborn804503c2012-09-16 00:00:27 -0700138 <!-- New user initialization; set up initial wallpaper -->
139 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -0400140 android:name="com.android.launcher3.UserInitializeReceiver"
Dianne Hackborn804503c2012-09-16 00:00:27 -0700141 android:exported="false">
142 <intent-filter>
143 <action android:name="android.intent.action.USER_INITIALIZE" />
144 </intent-filter>
145 </receiver>
Michael Jurka05713af2013-01-23 12:39:24 +0100146
Daniel Sandler325dc232013-06-05 22:57:57 -0400147 <receiver android:name="com.android.launcher3.PackageChangedReceiver" >
Michael Jurka05713af2013-01-23 12:39:24 +0100148 <intent-filter>
149 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
150 <action android:name="android.intent.action.PACKAGE_REPLACED"/>
151 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
152 <data android:scheme="package"></data>
153 </intent-filter>
154 </receiver>
155
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800156 <!-- The settings provider contains Home's data, like the workspace favorites -->
157 <provider
Daniel Sandler325dc232013-06-05 22:57:57 -0400158 android:name="com.android.launcher3.LauncherProvider"
159 android:authorities="com.android.launcher3.settings"
Nick Kralevichebe65592012-07-28 16:11:07 -0700160 android:exported="true"
Daniel Sandler325dc232013-06-05 22:57:57 -0400161 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
162 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800163
Martijn Coenenb34811d2012-04-19 09:38:20 -0700164 <meta-data android:name="android.nfc.disable_beam_default"
165 android:value="true" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800166 </application>
167</manifest>