The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 1 | <?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 Guy | 2934433 | 2011-10-05 12:30:36 -0700 | [diff] [blame] | 22 | package="com.android.launcher"> |
Jeff Hamilton | 95db737 | 2010-02-11 16:25:50 -0600 | [diff] [blame] | 23 | |
| 24 | <original-package android:name="com.android.launcher2" /> |
| 25 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 26 | <permission |
Brian Muramatsu | b6a4d98 | 2012-04-24 17:16:04 -0700 | [diff] [blame] | 27 | android:name="com.android.launcher.permission.PRELOAD_WORKSPACE" |
| 28 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
Winson Chung | 2f7c0b3 | 2014-02-25 15:33:38 -0800 | [diff] [blame] | 29 | android:protectionLevel="signatureOrSystem" /> |
Brian Muramatsu | b6a4d98 | 2012-04-24 17:16:04 -0700 | [diff] [blame] | 30 | <permission |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 31 | android:name="com.android.launcher.permission.INSTALL_SHORTCUT" |
| 32 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
Nick Kralevich | 3365030 | 2012-08-07 10:21:13 -0700 | [diff] [blame] | 33 | android:protectionLevel="dangerous" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 34 | 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 Kralevich | 3365030 | 2012-08-07 10:21:13 -0700 | [diff] [blame] | 39 | android:protectionLevel="dangerous" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 40 | 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 Chung | 2f7c0b3 | 2014-02-25 15:33:38 -0800 | [diff] [blame] | 51 | android:protectionLevel="signatureOrSystem" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 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 Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 56 | <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 Sharkey | 6d3bfe5 | 2009-05-07 16:12:05 -0700 | [diff] [blame] | 59 | <uses-permission android:name="android.permission.BIND_APPWIDGET" /> |
Michael Jurka | 974c386 | 2012-05-22 22:00:31 -0700 | [diff] [blame] | 60 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 61 | <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" /> |
| 62 | <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" /> |
Adam Cohen | 76fc085 | 2011-06-17 13:26:23 -0700 | [diff] [blame] | 63 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 64 | <application |
Romain Guy | cf87904 | 2010-03-04 11:57:50 -0800 | [diff] [blame] | 65 | android:name="com.android.launcher2.LauncherApplication" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 66 | android:label="@string/application_name" |
Michael Jurka | 9df38df | 2012-11-12 18:07:02 -0800 | [diff] [blame] | 67 | android:icon="@mipmap/ic_launcher_home" |
Michael Jurka | 14c5a2c | 2012-06-28 13:45:33 -0700 | [diff] [blame] | 68 | android:hardwareAccelerated="true" |
Fabrice Di Meglio | 369dd0c | 2012-09-24 17:30:22 -0700 | [diff] [blame] | 69 | android:largeHeap="@bool/config_largeHeap" |
| 70 | android:supportsRtl="true"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 71 | <activity |
Romain Guy | cf87904 | 2010-03-04 11:57:50 -0800 | [diff] [blame] | 72 | android:name="com.android.launcher2.Launcher" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 73 | android:launchMode="singleTask" |
| 74 | android:clearTaskOnLaunch="true" |
| 75 | android:stateNotNeeded="true" |
Dianne Hackborn | 96a06c3 | 2014-09-04 23:13:18 -0700 | [diff] [blame] | 76 | android:resumeWhilePausing="true" |
Adam Cohen | 81e2b9b | 2011-06-27 18:59:37 -0700 | [diff] [blame] | 77 | android:theme="@style/Theme" |
Adam Cohen | 446e940 | 2011-09-15 18:21:21 -0700 | [diff] [blame] | 78 | android:windowSoftInputMode="adjustPan" |
Jeff Brown | a601663 | 2012-06-04 14:15:42 -0700 | [diff] [blame] | 79 | android:screenOrientation="nosensor"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 80 | <intent-filter> |
| 81 | <action android:name="android.intent.action.MAIN" /> |
Joe Onorato | 7b7a2cd | 2009-09-23 08:32:02 -0700 | [diff] [blame] | 82 | <category android:name="android.intent.category.HOME" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 83 | <category android:name="android.intent.category.DEFAULT" /> |
Joe Onorato | 7b7a2cd | 2009-09-23 08:32:02 -0700 | [diff] [blame] | 84 | <category android:name="android.intent.category.MONKEY"/> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 85 | </intent-filter> |
| 86 | </activity> |
| 87 | |
| 88 | <activity |
Romain Guy | cf87904 | 2010-03-04 11:57:50 -0800 | [diff] [blame] | 89 | android:name="com.android.launcher2.WallpaperChooser" |
Michael Jurka | aee3a0e | 2012-09-24 19:05:00 -0700 | [diff] [blame] | 90 | android:theme="@style/Theme.WallpaperPicker" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 91 | android:label="@string/pick_wallpaper" |
Michael Jurka | 9df38df | 2012-11-12 18:07:02 -0800 | [diff] [blame] | 92 | android:icon="@mipmap/ic_launcher_wallpaper" |
Michael Jurka | 4e01d33 | 2011-10-13 06:07:30 -0700 | [diff] [blame] | 93 | android:finishOnCloseSystemDialogs="true" |
| 94 | android:process=":wallpaper_chooser"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 95 | <intent-filter> |
| 96 | <action android:name="android.intent.action.SET_WALLPAPER" /> |
| 97 | <category android:name="android.intent.category.DEFAULT" /> |
| 98 | </intent-filter> |
Adam Cohen | 4c3733f | 2011-01-18 17:27:00 -0800 | [diff] [blame] | 99 | <meta-data android:name="android.wallpaper.preview" |
| 100 | android:resource="@xml/wallpaper_picker_preview" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 101 | </activity> |
Romain Guy | 73b979d | 2009-06-09 12:57:21 -0700 | [diff] [blame] | 102 | |
Brian Muramatsu | b6a4d98 | 2012-04-24 17:16:04 -0700 | [diff] [blame] | 103 | <!-- 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 Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 112 | <!-- Intent received used to install shortcuts from other applications --> |
| 113 | <receiver |
Romain Guy | cf87904 | 2010-03-04 11:57:50 -0800 | [diff] [blame] | 114 | android:name="com.android.launcher2.InstallShortcutReceiver" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 115 | 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 Guy | cf87904 | 2010-03-04 11:57:50 -0800 | [diff] [blame] | 123 | android:name="com.android.launcher2.UninstallShortcutReceiver" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 124 | 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 Hackborn | 804503c | 2012-09-16 00:00:27 -0700 | [diff] [blame] | 130 | <!-- 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 Jurka | 05713af | 2013-01-23 12:39:24 +0100 | [diff] [blame] | 138 | |
| 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 Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 148 | <!-- The settings provider contains Home's data, like the workspace favorites --> |
| 149 | <provider |
Romain Guy | cf87904 | 2010-03-04 11:57:50 -0800 | [diff] [blame] | 150 | android:name="com.android.launcher2.LauncherProvider" |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 151 | android:authorities="com.android.launcher2.settings" |
Nick Kralevich | ebe6559 | 2012-07-28 16:11:07 -0700 | [diff] [blame] | 152 | android:exported="true" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 153 | android:writePermission="com.android.launcher.permission.WRITE_SETTINGS" |
| 154 | android:readPermission="com.android.launcher.permission.READ_SETTINGS" /> |
| 155 | |
Martijn Coenen | b34811d | 2012-04-19 09:38:20 -0700 | [diff] [blame] | 156 | <meta-data android:name="android.nfc.disable_beam_default" |
| 157 | android:value="true" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 158 | </application> |
| 159 | </manifest> |