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" |
| 22 | package="com.android.launcher" |
| 23 | android:sharedUserId="android.uid.shared" |
| 24 | android:sharedUserLabel="@string/application_name"> |
| 25 | |
| 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"/> |
| 50 | |
| 51 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
| 52 | <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> |
| 53 | <uses-permission android:name="android.permission.GET_TASKS" /> |
| 54 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| 55 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| 56 | <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> |
| 57 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 58 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
Jeff Sharkey | 6d3bfe5 | 2009-05-07 16:12:05 -0700 | [diff] [blame] | 59 | <uses-permission android:name="android.permission.BIND_APPWIDGET" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 60 | <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" /> |
| 61 | <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" /> |
| 62 | |
| 63 | <application |
| 64 | android:name="LauncherApplication" |
| 65 | android:process="android.process.acore" |
| 66 | android:label="@string/application_name" |
| 67 | android:icon="@drawable/ic_launcher_home"> |
| 68 | |
| 69 | <activity |
| 70 | android:name="Launcher" |
| 71 | android:launchMode="singleTask" |
| 72 | android:clearTaskOnLaunch="true" |
| 73 | android:stateNotNeeded="true" |
| 74 | android:theme="@style/Theme" |
Jeffrey Sharkey | d1d36ba | 2009-03-27 17:13:54 -0700 | [diff] [blame] | 75 | android:screenOrientation="nosensor" |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 76 | android:windowSoftInputMode="stateUnspecified|adjustPan"> |
| 77 | <intent-filter> |
| 78 | <action android:name="android.intent.action.MAIN" /> |
| 79 | <category android:name="android.intent.category.HOME"/> |
| 80 | <category android:name="android.intent.category.DEFAULT" /> |
| 81 | <category android:name="android.intent.category.MONKEY" /> |
| 82 | </intent-filter> |
| 83 | </activity> |
| 84 | |
| 85 | <activity |
| 86 | android:name="WallpaperChooser" |
| 87 | android:label="@string/pick_wallpaper" |
| 88 | android:icon="@drawable/ic_launcher_gallery"> |
| 89 | <intent-filter> |
| 90 | <action android:name="android.intent.action.SET_WALLPAPER" /> |
| 91 | <category android:name="android.intent.category.DEFAULT" /> |
| 92 | </intent-filter> |
| 93 | </activity> |
Romain Guy | 73b979d | 2009-06-09 12:57:21 -0700 | [diff] [blame] | 94 | |
| 95 | <activity |
| 96 | android:name="GesturesActivity" |
| 97 | android:label="@string/gestures_activity" /> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 98 | |
| 99 | <!-- Enable system-default search mode for any activity in Home --> |
| 100 | <meta-data |
| 101 | android:name="android.app.default_searchable" |
| 102 | android:value="*" /> |
| 103 | |
| 104 | <!-- Intent received used to install shortcuts from other applications --> |
| 105 | <receiver |
| 106 | android:name=".InstallShortcutReceiver" |
| 107 | android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"> |
| 108 | <intent-filter> |
| 109 | <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" /> |
| 110 | </intent-filter> |
| 111 | </receiver> |
| 112 | |
| 113 | <!-- Intent received used to uninstall shortcuts from other applications --> |
| 114 | <receiver |
| 115 | android:name=".UninstallShortcutReceiver" |
| 116 | android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT"> |
| 117 | <intent-filter> |
| 118 | <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" /> |
| 119 | </intent-filter> |
| 120 | </receiver> |
| 121 | |
| 122 | <!-- The settings provider contains Home's data, like the workspace favorites --> |
| 123 | <provider |
| 124 | android:name="LauncherProvider" |
| 125 | android:authorities="com.android.launcher.settings" |
| 126 | android:writePermission="com.android.launcher.permission.WRITE_SETTINGS" |
| 127 | android:readPermission="com.android.launcher.permission.READ_SETTINGS" /> |
| 128 | |
| 129 | </application> |
| 130 | </manifest> |