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 | --> |
Romain Guy | 41669fc | 2009-08-13 12:53:24 -0700 | [diff] [blame] | 20 | <!--TODO MAKE THE sharedUserId be uid.system again !! --> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 21 | <manifest |
| 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
Dianne Hackborn | 02e638e | 2009-08-20 19:33:42 -0700 | [diff] [blame] | 23 | package="com.android.launcher2"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 24 | |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 25 | <!-- Turned off until there is only one launcher |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 26 | <permission |
| 27 | android:name="com.android.launcher.permission.INSTALL_SHORTCUT" |
| 28 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 29 | android:protectionLevel="normal" |
| 30 | android:label="@string/permlab_install_shortcut" |
| 31 | android:description="@string/permdesc_install_shortcut" /> |
| 32 | <permission |
| 33 | android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" |
| 34 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 35 | android:protectionLevel="normal" |
| 36 | android:label="@string/permlab_uninstall_shortcut" |
| 37 | android:description="@string/permdesc_uninstall_shortcut"/> |
| 38 | <permission |
| 39 | android:name="com.android.launcher.permission.READ_SETTINGS" |
| 40 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 41 | android:protectionLevel="normal" |
| 42 | android:label="@string/permlab_read_settings" |
| 43 | android:description="@string/permdesc_read_settings"/> |
| 44 | <permission |
| 45 | android:name="com.android.launcher.permission.WRITE_SETTINGS" |
| 46 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 47 | android:protectionLevel="normal" |
| 48 | android:label="@string/permlab_write_settings" |
| 49 | android:description="@string/permdesc_write_settings"/> |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 50 | --> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 51 | |
| 52 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
| 53 | <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> |
| 54 | <uses-permission android:name="android.permission.GET_TASKS" /> |
| 55 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| 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" /> |
| 59 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
Jeff Sharkey | 6d3bfe5 | 2009-05-07 16:12:05 -0700 | [diff] [blame] | 60 | <uses-permission android:name="android.permission.BIND_APPWIDGET" /> |
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" /> |
| 63 | |
Dianne Hackborn | 02e638e | 2009-08-20 19:33:42 -0700 | [diff] [blame] | 64 | <!-- these two are only needed for the wallpaper picker --> |
| 65 | <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" /> |
| 66 | <uses-permission android:name="android.permission.BIND_WALLPAPER" /> |
| 67 | |
Joe Onorato | 00acb12 | 2009-08-04 16:04:30 -0400 | [diff] [blame] | 68 | <!-- During development, run outside acore |
| 69 | android:process="android.process.acore" |
| 70 | --> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 71 | <application |
| 72 | android:name="LauncherApplication" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 73 | android:label="@string/application_name" |
| 74 | android:icon="@drawable/ic_launcher_home"> |
| 75 | |
| 76 | <activity |
| 77 | android:name="Launcher" |
| 78 | android:launchMode="singleTask" |
| 79 | android:clearTaskOnLaunch="true" |
| 80 | android:stateNotNeeded="true" |
| 81 | android:theme="@style/Theme" |
Jeffrey Sharkey | d1d36ba | 2009-03-27 17:13:54 -0700 | [diff] [blame] | 82 | android:screenOrientation="nosensor" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 83 | android:windowSoftInputMode="stateUnspecified|adjustPan"> |
| 84 | <intent-filter> |
| 85 | <action android:name="android.intent.action.MAIN" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 86 | <category android:name="android.intent.category.DEFAULT" /> |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 87 | <category android:name="android.intent.category.LAUNCHER"/> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 88 | </intent-filter> |
| 89 | </activity> |
| 90 | |
| 91 | <activity |
| 92 | android:name="WallpaperChooser" |
| 93 | android:label="@string/pick_wallpaper" |
| 94 | android:icon="@drawable/ic_launcher_gallery"> |
| 95 | <intent-filter> |
| 96 | <action android:name="android.intent.action.SET_WALLPAPER" /> |
| 97 | <category android:name="android.intent.category.DEFAULT" /> |
| 98 | </intent-filter> |
| 99 | </activity> |
Romain Guy | 73b979d | 2009-06-09 12:57:21 -0700 | [diff] [blame] | 100 | |
Dianne Hackborn | 02e638e | 2009-08-20 19:33:42 -0700 | [diff] [blame] | 101 | <!-- TODO: MOVE TO SETTINGS (or actually maybe to its own package) --> |
Romain Guy | 41669fc | 2009-08-13 12:53:24 -0700 | [diff] [blame] | 102 | <!-- Standard picker for live wallpapers --> |
| 103 | <activity android:name="LiveWallpaperPickActivity" |
| 104 | android:label="@string/live_wallpaper_picker_title" |
Dianne Hackborn | 02e638e | 2009-08-20 19:33:42 -0700 | [diff] [blame] | 105 | android:theme="@android:style/Theme.Wallpaper"> |
Romain Guy | 41669fc | 2009-08-13 12:53:24 -0700 | [diff] [blame] | 106 | <intent-filter> |
| 107 | <action android:name="android.service.wallpaper.LIVE_WALLPAPER_CHOOSER" /> |
| 108 | <action android:name="android.intent.action.SET_WALLPAPER" /> |
| 109 | <category android:name="android.intent.category.DEFAULT" /> |
| 110 | </intent-filter> |
| 111 | </activity> |
| 112 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 113 | <!-- Enable system-default search mode for any activity in Home --> |
| 114 | <meta-data |
| 115 | android:name="android.app.default_searchable" |
| 116 | android:value="*" /> |
| 117 | |
| 118 | <!-- Intent received used to install shortcuts from other applications --> |
| 119 | <receiver |
| 120 | android:name=".InstallShortcutReceiver" |
| 121 | android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"> |
| 122 | <intent-filter> |
| 123 | <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" /> |
| 124 | </intent-filter> |
| 125 | </receiver> |
| 126 | |
| 127 | <!-- Intent received used to uninstall shortcuts from other applications --> |
| 128 | <receiver |
| 129 | android:name=".UninstallShortcutReceiver" |
| 130 | android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT"> |
| 131 | <intent-filter> |
| 132 | <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" /> |
| 133 | </intent-filter> |
| 134 | </receiver> |
| 135 | |
| 136 | <!-- The settings provider contains Home's data, like the workspace favorites --> |
| 137 | <provider |
| 138 | android:name="LauncherProvider" |
Joe Onorato | a590252 | 2009-07-30 13:37:37 -0700 | [diff] [blame] | 139 | android:authorities="com.android.launcher2.settings" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 140 | android:writePermission="com.android.launcher.permission.WRITE_SETTINGS" |
| 141 | android:readPermission="com.android.launcher.permission.READ_SETTINGS" /> |
| 142 | |
| 143 | </application> |
| 144 | </manifest> |