blob: 6442a73c0874424105847f9f25fd25cdb4ac27af [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"
Winson Chung2f7c0b32014-02-25 15:33:38 -080029 android:protectionLevel="signatureOrSystem" />
Brian Muramatsub6a4d982012-04-24 17:16:04 -070030 <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"
Winson Chung2f7c0b32014-02-25 15:33:38 -080051 android:protectionLevel="signatureOrSystem"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080052 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"
Dianne Hackborn96a06c32014-09-04 23:13:18 -070076 android:resumeWhilePausing="true"
Adam Cohen81e2b9b2011-06-27 18:59:37 -070077 android:theme="@style/Theme"
Adam Cohen446e9402011-09-15 18:21:21 -070078 android:windowSoftInputMode="adjustPan"
Jeff Browna6016632012-06-04 14:15:42 -070079 android:screenOrientation="nosensor">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080080 <intent-filter>
81 <action android:name="android.intent.action.MAIN" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070082 <category android:name="android.intent.category.HOME" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080083 <category android:name="android.intent.category.DEFAULT" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070084 <category android:name="android.intent.category.MONKEY"/>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080085 </intent-filter>
86 </activity>
87
88 <activity
Romain Guycf879042010-03-04 11:57:50 -080089 android:name="com.android.launcher2.WallpaperChooser"
Michael Jurkaaee3a0e2012-09-24 19:05:00 -070090 android:theme="@style/Theme.WallpaperPicker"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080091 android:label="@string/pick_wallpaper"
Michael Jurka9df38df2012-11-12 18:07:02 -080092 android:icon="@mipmap/ic_launcher_wallpaper"
Michael Jurka4e01d332011-10-13 06:07:30 -070093 android:finishOnCloseSystemDialogs="true"
94 android:process=":wallpaper_chooser">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080095 <intent-filter>
96 <action android:name="android.intent.action.SET_WALLPAPER" />
97 <category android:name="android.intent.category.DEFAULT" />
98 </intent-filter>
Adam Cohen4c3733f2011-01-18 17:27:00 -080099 <meta-data android:name="android.wallpaper.preview"
100 android:resource="@xml/wallpaper_picker_preview" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800101 </activity>
Romain Guy73b979d2009-06-09 12:57:21 -0700102
Brian Muramatsub6a4d982012-04-24 17:16:04 -0700103 <!-- Intent received used to prepopulate the default workspace. -->
104 <receiver
105 android:name="com.android.launcher2.PreloadReceiver"
106 android:permission="com.android.launcher.permission.PRELOAD_WORKSPACE">
107 <intent-filter>
108 <action android:name="com.android.launcher.action.PRELOAD_WORKSPACE" />
109 </intent-filter>
110 </receiver>
111
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800112 <!-- Intent received used to install shortcuts from other applications -->
113 <receiver
Romain Guycf879042010-03-04 11:57:50 -0800114 android:name="com.android.launcher2.InstallShortcutReceiver"
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800115 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
116 <intent-filter>
117 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
118 </intent-filter>
119 </receiver>
120
121 <!-- Intent received used to uninstall shortcuts from other applications -->
122 <receiver
Romain Guycf879042010-03-04 11:57:50 -0800123 android:name="com.android.launcher2.UninstallShortcutReceiver"
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800124 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
125 <intent-filter>
126 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
127 </intent-filter>
128 </receiver>
129
Dianne Hackborn804503c2012-09-16 00:00:27 -0700130 <!-- New user initialization; set up initial wallpaper -->
131 <receiver
132 android:name="com.android.launcher2.UserInitializeReceiver"
133 android:exported="false">
134 <intent-filter>
135 <action android:name="android.intent.action.USER_INITIALIZE" />
136 </intent-filter>
137 </receiver>
Michael Jurka05713af2013-01-23 12:39:24 +0100138
139 <receiver android:name="com.android.launcher2.PackageChangedReceiver" >
140 <intent-filter>
141 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
142 <action android:name="android.intent.action.PACKAGE_REPLACED"/>
143 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
144 <data android:scheme="package"></data>
145 </intent-filter>
146 </receiver>
147
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800148 <!-- The settings provider contains Home's data, like the workspace favorites -->
149 <provider
Romain Guycf879042010-03-04 11:57:50 -0800150 android:name="com.android.launcher2.LauncherProvider"
Joe Onoratoa5902522009-07-30 13:37:37 -0700151 android:authorities="com.android.launcher2.settings"
Nick Kralevichebe65592012-07-28 16:11:07 -0700152 android:exported="true"
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800153 android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
154 android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
155
Martijn Coenenb34811d2012-04-19 09:38:20 -0700156 <meta-data android:name="android.nfc.disable_beam_default"
157 android:value="true" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800158 </application>
159</manifest>