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" |
Dianne Hackborn | 12687cf | 2010-03-09 15:03:20 -0800 | [diff] [blame] | 22 | package="com.android.launcher" |
| 23 | android:sharedUserId="@string/sharedUserId" |
| 24 | > |
Jeff Hamilton | 95db737 | 2010-02-11 16:25:50 -0600 | [diff] [blame] | 25 | |
| 26 | <original-package android:name="com.android.launcher2" /> |
| 27 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 28 | <permission |
| 29 | android:name="com.android.launcher.permission.INSTALL_SHORTCUT" |
| 30 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 31 | android:protectionLevel="normal" |
| 32 | android:label="@string/permlab_install_shortcut" |
| 33 | android:description="@string/permdesc_install_shortcut" /> |
| 34 | <permission |
| 35 | android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" |
| 36 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 37 | android:protectionLevel="normal" |
| 38 | android:label="@string/permlab_uninstall_shortcut" |
| 39 | android:description="@string/permdesc_uninstall_shortcut"/> |
| 40 | <permission |
| 41 | android:name="com.android.launcher.permission.READ_SETTINGS" |
| 42 | 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 |
| 47 | android:name="com.android.launcher.permission.WRITE_SETTINGS" |
| 48 | 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" /> |
| 54 | <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> |
| 55 | <uses-permission android:name="android.permission.GET_TASKS" /> |
| 56 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| 57 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| 58 | <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> |
| 59 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 60 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
Jeff Sharkey | 6d3bfe5 | 2009-05-07 16:12:05 -0700 | [diff] [blame] | 61 | <uses-permission android:name="android.permission.BIND_APPWIDGET" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 62 | <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" /> |
| 63 | <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" /> |
Dianne Hackborn | 02e638e | 2009-08-20 19:33:42 -0700 | [diff] [blame] | 64 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 65 | <application |
Romain Guy | cf87904 | 2010-03-04 11:57:50 -0800 | [diff] [blame] | 66 | android:name="com.android.launcher2.LauncherApplication" |
Dianne Hackborn | 12687cf | 2010-03-09 15:03:20 -0800 | [diff] [blame] | 67 | android:process="@string/process" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 68 | android:label="@string/application_name" |
| 69 | android:icon="@drawable/ic_launcher_home"> |
| 70 | |
| 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" |
| 76 | android:theme="@style/Theme" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 77 | android:windowSoftInputMode="stateUnspecified|adjustPan"> |
| 78 | <intent-filter> |
| 79 | <action android:name="android.intent.action.MAIN" /> |
Joe Onorato | 7b7a2cd | 2009-09-23 08:32:02 -0700 | [diff] [blame] | 80 | <category android:name="android.intent.category.HOME" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 81 | <category android:name="android.intent.category.DEFAULT" /> |
Joe Onorato | 7b7a2cd | 2009-09-23 08:32:02 -0700 | [diff] [blame] | 82 | <category android:name="android.intent.category.MONKEY"/> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 83 | </intent-filter> |
| 84 | </activity> |
| 85 | |
| 86 | <activity |
Romain Guy | cf87904 | 2010-03-04 11:57:50 -0800 | [diff] [blame] | 87 | android:name="com.android.launcher2.WallpaperChooser" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 88 | android:label="@string/pick_wallpaper" |
Romain Guy | e11f9f4 | 2009-11-08 15:31:40 -0800 | [diff] [blame] | 89 | android:icon="@drawable/ic_launcher_wallpaper" |
Joe Onorato | 2ca0ae7 | 2009-11-10 13:14:13 -0800 | [diff] [blame] | 90 | android:screenOrientation="nosensor" |
| 91 | android:finishOnCloseSystemDialogs="true"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 92 | <intent-filter> |
| 93 | <action android:name="android.intent.action.SET_WALLPAPER" /> |
| 94 | <category android:name="android.intent.category.DEFAULT" /> |
| 95 | </intent-filter> |
| 96 | </activity> |
Romain Guy | 73b979d | 2009-06-09 12:57:21 -0700 | [diff] [blame] | 97 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 98 | <!-- Intent received used to install shortcuts from other applications --> |
| 99 | <receiver |
Romain Guy | cf87904 | 2010-03-04 11:57:50 -0800 | [diff] [blame] | 100 | android:name="com.android.launcher2.InstallShortcutReceiver" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 101 | android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"> |
| 102 | <intent-filter> |
| 103 | <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" /> |
| 104 | </intent-filter> |
| 105 | </receiver> |
| 106 | |
| 107 | <!-- Intent received used to uninstall shortcuts from other applications --> |
| 108 | <receiver |
Romain Guy | cf87904 | 2010-03-04 11:57:50 -0800 | [diff] [blame] | 109 | android:name="com.android.launcher2.UninstallShortcutReceiver" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 110 | android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT"> |
| 111 | <intent-filter> |
| 112 | <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" /> |
| 113 | </intent-filter> |
| 114 | </receiver> |
| 115 | |
| 116 | <!-- The settings provider contains Home's data, like the workspace favorites --> |
| 117 | <provider |
Romain Guy | cf87904 | 2010-03-04 11:57:50 -0800 | [diff] [blame] | 118 | android:name="com.android.launcher2.LauncherProvider" |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 119 | android:authorities="com.android.launcher2.settings" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 120 | android:writePermission="com.android.launcher.permission.WRITE_SETTINGS" |
| 121 | android:readPermission="com.android.launcher.permission.READ_SETTINGS" /> |
| 122 | |
| 123 | </application> |
| 124 | </manifest> |