AndroidManifest.xml revision 41669fc9c6d4faab98d527c8f4c449725c29c8df
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<!--TODO MAKE THE sharedUserId be uid.system again !! --> 21<manifest 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 package="com.android.launcher2" 24 android:sharedUserId="android.uid.system" 25 android:sharedUserLabel="@string/uid_name"> 26 27 <!-- Turned off until there is only one launcher 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 54 <uses-permission android:name="android.permission.CALL_PHONE" /> 55 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> 56 <uses-permission android:name="android.permission.GET_TASKS" /> 57 <uses-permission android:name="android.permission.READ_CONTACTS"/> 58 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 59 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> 60 <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" /> 61 <uses-permission android:name="android.permission.VIBRATE" /> 62 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 63 <uses-permission android:name="android.permission.BIND_APPWIDGET" /> 64 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" /> 65 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" /> 66 67 <!-- During development, run outside acore 68 android:process="android.process.acore" 69 --> 70 <application 71 android:name="LauncherApplication" 72 android:label="@string/application_name" 73 android:icon="@drawable/ic_launcher_home"> 74 75 <activity 76 android:name="Launcher" 77 android:launchMode="singleTask" 78 android:clearTaskOnLaunch="true" 79 android:stateNotNeeded="true" 80 android:theme="@style/Theme" 81 android:screenOrientation="nosensor" 82 android:windowSoftInputMode="stateUnspecified|adjustPan"> 83 <intent-filter> 84 <action android:name="android.intent.action.MAIN" /> 85 <category android:name="android.intent.category.DEFAULT" /> 86 <category android:name="android.intent.category.LAUNCHER"/> 87 </intent-filter> 88 </activity> 89 90 <activity 91 android:name="WallpaperChooser" 92 android:label="@string/pick_wallpaper" 93 android:icon="@drawable/ic_launcher_gallery"> 94 <intent-filter> 95 <action android:name="android.intent.action.SET_WALLPAPER" /> 96 <category android:name="android.intent.category.DEFAULT" /> 97 </intent-filter> 98 </activity> 99 100 <!-- TODO: MOVE TO SETTINGS --> 101 <!-- Standard picker for live wallpapers --> 102 <activity android:name="LiveWallpaperPickActivity" 103 android:label="@string/live_wallpaper_picker_title" 104 android:theme="@*android:style/Theme.Dialog.Alert"> 105 <intent-filter> 106 <action android:name="android.service.wallpaper.LIVE_WALLPAPER_CHOOSER" /> 107 <action android:name="android.intent.action.SET_WALLPAPER" /> 108 <category android:name="android.intent.category.DEFAULT" /> 109 </intent-filter> 110 </activity> 111 112 <!-- Enable system-default search mode for any activity in Home --> 113 <meta-data 114 android:name="android.app.default_searchable" 115 android:value="*" /> 116 117 <!-- Intent received used to install shortcuts from other applications --> 118 <receiver 119 android:name=".InstallShortcutReceiver" 120 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"> 121 <intent-filter> 122 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" /> 123 </intent-filter> 124 </receiver> 125 126 <!-- Intent received used to uninstall shortcuts from other applications --> 127 <receiver 128 android:name=".UninstallShortcutReceiver" 129 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT"> 130 <intent-filter> 131 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" /> 132 </intent-filter> 133 </receiver> 134 135 <!-- The settings provider contains Home's data, like the workspace favorites --> 136 <provider 137 android:name="LauncherProvider" 138 android:authorities="com.android.launcher2.settings" 139 android:writePermission="com.android.launcher.permission.WRITE_SETTINGS" 140 android:readPermission="com.android.launcher.permission.READ_SETTINGS" /> 141 142 </application> 143</manifest> 144