blob: f3ef6c8c15be78d873b50dc0ce8d3fbcc348a18c [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"
Romain Guy29344332011-10-05 12:30:36 -070022 package="com.android.launcher">
Jeff Hamilton95db7372010-02-11 16:25:50 -060023
24 <original-package android:name="com.android.launcher2" />
25
The Android Open Source Project31dd5032009-03-03 19:32:27 -080026 <permission
Brian Muramatsub6a4d982012-04-24 17:16:04 -070027 android:name="com.android.launcher.permission.PRELOAD_WORKSPACE"
28 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
29 android:protectionLevel="system|signature" />
30 <permission
The Android Open Source Project31dd5032009-03-03 19:32:27 -080031 android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
32 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Nick Kralevich33650302012-08-07 10:21:13 -070033 android:protectionLevel="dangerous"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080034 android:label="@string/permlab_install_shortcut"
35 android:description="@string/permdesc_install_shortcut" />
36 <permission
37 android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
38 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Nick Kralevich33650302012-08-07 10:21:13 -070039 android:protectionLevel="dangerous"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080040 android:label="@string/permlab_uninstall_shortcut"
41 android:description="@string/permdesc_uninstall_shortcut"/>
42 <permission
43 android:name="com.android.launcher.permission.READ_SETTINGS"
44 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
45 android:protectionLevel="normal"
46 android:label="@string/permlab_read_settings"
47 android:description="@string/permdesc_read_settings"/>
48 <permission
49 android:name="com.android.launcher.permission.WRITE_SETTINGS"
50 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
51 android:protectionLevel="normal"
52 android:label="@string/permlab_write_settings"
53 android:description="@string/permdesc_write_settings"/>
54
55 <uses-permission android:name="android.permission.CALL_PHONE" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080056 <uses-permission android:name="android.permission.SET_WALLPAPER" />
57 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
58 <uses-permission android:name="android.permission.VIBRATE" />
Jeff Sharkey6d3bfe52009-05-07 16:12:05 -070059 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
Michael Jurka974c3862012-05-22 22:00:31 -070060 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080061 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
62 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
Adam Cohen76fc0852011-06-17 13:26:23 -070063
The Android Open Source Project31dd5032009-03-03 19:32:27 -080064 <application
Romain Guycf879042010-03-04 11:57:50 -080065 android:name="com.android.launcher2.LauncherApplication"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080066 android:label="@string/application_name"
Michael Jurka9df38df2012-11-12 18:07:02 -080067 android:icon="@mipmap/ic_launcher_home"
Michael Jurka14c5a2c2012-06-28 13:45:33 -070068 android:hardwareAccelerated="true"
Fabrice Di Meglio369dd0c2012-09-24 17:30:22 -070069 android:largeHeap="@bool/config_largeHeap"
70 android:supportsRtl="true">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080071 <activity
Romain Guycf879042010-03-04 11:57:50 -080072 android:name="com.android.launcher2.Launcher"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080073 android:launchMode="singleTask"
74 android:clearTaskOnLaunch="true"
75 android:stateNotNeeded="true"
Adam Cohen81e2b9b2011-06-27 18:59:37 -070076 android:theme="@style/Theme"
Adam Cohen446e9402011-09-15 18:21:21 -070077 android:windowSoftInputMode="adjustPan"
Jeff Browna6016632012-06-04 14:15:42 -070078 android:screenOrientation="nosensor">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080079 <intent-filter>
80 <action android:name="android.intent.action.MAIN" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070081 <category android:name="android.intent.category.HOME" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080082 <category android:name="android.intent.category.DEFAULT" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070083 <category android:name="android.intent.category.MONKEY"/>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080084 </intent-filter>
85 </activity>
86
87 <activity
Romain Guycf879042010-03-04 11:57:50 -080088 android:name="com.android.launcher2.WallpaperChooser"
Michael Jurkaaee3a0e2012-09-24 19:05:00 -070089 android:theme="@style/Theme.WallpaperPicker"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080090 android:label="@string/pick_wallpaper"
Michael Jurka9df38df2012-11-12 18:07:02 -080091 android:icon="@mipmap/ic_launcher_wallpaper"
Michael Jurka4e01d332011-10-13 06:07:30 -070092 android:finishOnCloseSystemDialogs="true"
93 android:process=":wallpaper_chooser">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080094 <intent-filter>
95 <action android:name="android.intent.action.SET_WALLPAPER" />
96 <category android:name="android.intent.category.DEFAULT" />
97 </intent-filter>
Adam Cohen4c3733f2011-01-18 17:27:00 -080098 <meta-data android:name="android.wallpaper.preview"
99 android:resource="@xml/wallpaper_picker_preview" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800100 </activity>
Romain Guy73b979d2009-06-09 12:57:21 -0700101
Brian Muramatsub6a4d982012-04-24 17:16:04 -0700102 <!-- Intent received used to prepopulate the default workspace. -->
103 <receiver
104 android:name="com.android.launcher2.PreloadReceiver"
105 android:permission="com.android.launcher.permission.PRELOAD_WORKSPACE">
106 <intent-filter>
107 <action android:name="com.android.launcher.action.PRELOAD_WORKSPACE" />
108 </intent-filter>
109 </receiver>
110
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800111 <!-- Intent received used to install shortcuts from other applications -->
112 <receiver
Romain Guycf879042010-03-04 11:57:50 -0800113 android:name="com.android.launcher2.InstallShortcutReceiver"
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800114 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
115 <intent-filter>
116 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
117 </intent-filter>
118 </receiver>
119
120 <!-- Intent received used to uninstall shortcuts from other applications -->
121 <receiver
Romain Guycf879042010-03-04 11:57:50 -0800122 android:name="com.android.launcher2.UninstallShortcutReceiver"
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800123 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
124 <intent-filter>
125 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
126 </intent-filter>
127 </receiver>
128
Dianne Hackborn804503c2012-09-16 00:00:27 -0700129 <!-- New user initialization; set up initial wallpaper -->
130 <receiver
131 android:name="com.android.launcher2.UserInitializeReceiver"
132 android:exported="false">
133 <intent-filter>
134 <action android:name="android.intent.action.USER_INITIALIZE" />
135 </intent-filter>
136 </receiver>
Michael Jurka05713af2013-01-23 12:39:24 +0100137
138 <receiver android:name="com.android.launcher2.PackageChangedReceiver" >
139 <intent-filter>
140 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
141 <action android:name="android.intent.action.PACKAGE_REPLACED"/>
142 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
143 <data android:scheme="package"></data>
144 </intent-filter>
145 </receiver>
146
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800147 <!-- The settings provider contains Home's data, like the workspace favorites -->
148 <provider
Romain Guycf879042010-03-04 11:57:50 -0800149 android:name="com.android.launcher2.LauncherProvider"
Joe Onoratoa5902522009-07-30 13:37:37 -0700150 android:authorities="com.android.launcher2.settings"
Nick Kralevichebe65592012-07-28 16:11:07 -0700151 android:exported="true"
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800152 android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
153 android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
154
Martijn Coenenb34811d2012-04-19 09:38:20 -0700155 <meta-data android:name="android.nfc.disable_beam_default"
156 android:value="true" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800157 </application>
158</manifest>