The Android Open Source Project | c8f00b6 | 2008-10-21 07:00:00 -0700 | [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 xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | package="com.android.launcher" |
| 22 | android:sharedUserId="android.uid.shared"> |
| 23 | |
| 24 | <permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" |
| 25 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 26 | android:protectionLevel="normal" |
| 27 | android:label="@string/permlab_install_shortcut" |
| 28 | android:description="@string/permdesc_install_shortcut"/> |
| 29 | <permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" |
| 30 | android:permissionGroup="android.permission-group.SYSTEM_TOOLS" |
| 31 | android:protectionLevel="normal" |
| 32 | android:label="@string/permlab_uninstall_shortcut" |
| 33 | android:description="@string/permdesc_uninstall_shortcut"/> |
| 34 | |
| 35 | <uses-permission android:name="android.permission.CALL_PHONE"/> |
| 36 | <uses-permission android:name="android.permission.EXPAND_STATUS_BAR"/> |
| 37 | <uses-permission android:name="android.permission.GET_TASKS"/> |
| 38 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| 39 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
| 40 | <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> |
| 41 | <uses-permission android:name="android.permission.VIBRATE"/> |
| 42 | <uses-permission android:name="android.permission.WRITE_SETTINGS"/> |
| 43 | |
| 44 | <application |
| 45 | android:process="android.process.acore" |
| 46 | android:label="@string/application_name" |
| 47 | android:icon="@drawable/ic_launcher_home"> |
| 48 | |
| 49 | <activity android:name="Launcher" |
| 50 | android:launchMode="singleTask" |
| 51 | android:clearTaskOnLaunch="true" |
| 52 | android:stateNotNeeded="true" |
| 53 | android:theme="@style/Theme" |
| 54 | android:configChanges="mcc|mnc"> |
| 55 | <intent-filter> |
| 56 | <action android:name="android.intent.action.MAIN" /> |
| 57 | <category android:name="android.intent.category.HOME"/> |
| 58 | <category android:name="android.intent.category.DEFAULT" /> |
| 59 | <category android:name="android.intent.category.MONKEY" /> |
| 60 | </intent-filter> |
| 61 | </activity> |
| 62 | |
| 63 | <activity android:name="WallpaperChooser" |
| 64 | android:label="@string/pick_wallpaper" |
| 65 | android:icon="@drawable/ic_launcher_gallery"> |
| 66 | <intent-filter> |
| 67 | <action android:name="android.intent.action.SET_WALLPAPER" /> |
| 68 | <category android:name="android.intent.category.DEFAULT" /> |
| 69 | </intent-filter> |
| 70 | </activity> |
| 71 | |
| 72 | <!-- Enable system-default search mode for any activity in Home --> |
| 73 | <meta-data android:name="android.app.default_searchable" android:value="*" /> |
| 74 | |
| 75 | <receiver android:name=".InstallShortcutReceiver" |
| 76 | android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"> |
| 77 | <intent-filter> |
| 78 | <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" /> |
| 79 | </intent-filter> |
| 80 | </receiver> |
| 81 | |
| 82 | <receiver android:name=".UninstallShortcutReceiver" |
| 83 | android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT"> |
| 84 | <intent-filter> |
| 85 | <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" /> |
| 86 | </intent-filter> |
| 87 | </receiver> |
| 88 | |
| 89 | </application> |
| 90 | </manifest> |