blob: 966848321bec133b8c11a4558fbda094df34fef6 [file] [log] [blame]
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -07001<?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-->
The Android Open Source Projectd097a182008-12-17 18:05:58 -080020<manifest
21 xmlns:android="http://schemas.android.com/apk/res/android"
22 package="com.android.launcher"
23 android:sharedUserId="android.uid.shared">
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070024
The Android Open Source Projectd097a182008-12-17 18:05:58 -080025 <permission
26 android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
27 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
28 android:protectionLevel="normal"
29 android:label="@string/permlab_install_shortcut"
30 android:description="@string/permdesc_install_shortcut" />
31 <permission
32 android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
33 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
34 android:protectionLevel="normal"
35 android:label="@string/permlab_uninstall_shortcut"
36 android:description="@string/permdesc_uninstall_shortcut"/>
37 <permission
38 android:name="com.android.launcher.permission.READ_SETTINGS"
39 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
40 android:protectionLevel="normal"
41 android:label="@string/permlab_read_settings"
42 android:description="@string/permdesc_read_settings"/>
43 <permission
44 android:name="com.android.launcher.permission.WRITE_SETTINGS"
45 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
46 android:protectionLevel="normal"
47 android:label="@string/permlab_write_settings"
48 android:description="@string/permdesc_write_settings"/>
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070049
The Android Open Source Projectd097a182008-12-17 18:05:58 -080050 <uses-permission android:name="android.permission.CALL_PHONE" />
51 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
52 <uses-permission android:name="android.permission.GET_TASKS" />
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070053 <uses-permission android:name="android.permission.READ_CONTACTS"/>
54 <uses-permission android:name="android.permission.SET_WALLPAPER" />
55 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
The Android Open Source Projectd097a182008-12-17 18:05:58 -080056 <uses-permission android:name="android.permission.VIBRATE" />
57 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
58 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
59 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070060
61 <application
The Android Open Source Projectd097a182008-12-17 18:05:58 -080062 android:name="LauncherApplication"
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070063 android:process="android.process.acore"
64 android:label="@string/application_name"
65 android:icon="@drawable/ic_launcher_home">
66
The Android Open Source Projectd097a182008-12-17 18:05:58 -080067 <activity
68 android:name="Launcher"
69 android:launchMode="singleTask"
70 android:clearTaskOnLaunch="true"
71 android:stateNotNeeded="true"
72 android:theme="@style/Theme">
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070073 <intent-filter>
74 <action android:name="android.intent.action.MAIN" />
75 <category android:name="android.intent.category.HOME"/>
76 <category android:name="android.intent.category.DEFAULT" />
77 <category android:name="android.intent.category.MONKEY" />
78 </intent-filter>
79 </activity>
80
The Android Open Source Projectd097a182008-12-17 18:05:58 -080081 <activity
82 android:name="WallpaperChooser"
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070083 android:label="@string/pick_wallpaper"
84 android:icon="@drawable/ic_launcher_gallery">
85 <intent-filter>
86 <action android:name="android.intent.action.SET_WALLPAPER" />
87 <category android:name="android.intent.category.DEFAULT" />
88 </intent-filter>
89 </activity>
90
91 <!-- Enable system-default search mode for any activity in Home -->
The Android Open Source Projectd097a182008-12-17 18:05:58 -080092 <meta-data
93 android:name="android.app.default_searchable"
94 android:value="*" />
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070095
The Android Open Source Projectd097a182008-12-17 18:05:58 -080096 <!-- Intent received used to install shortcuts from other applications -->
97 <receiver
98 android:name=".InstallShortcutReceiver"
99 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -0700100 <intent-filter>
101 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
102 </intent-filter>
103 </receiver>
104
The Android Open Source Projectd097a182008-12-17 18:05:58 -0800105 <!-- Intent received used to uninstall shortcuts from other applications -->
106 <receiver
107 android:name=".UninstallShortcutReceiver"
108 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -0700109 <intent-filter>
110 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
111 </intent-filter>
112 </receiver>
113
The Android Open Source Projectd097a182008-12-17 18:05:58 -0800114 <!-- The settings provider contains Home's data, like the workspace favorites -->
115 <provider
116 android:name="LauncherProvider"
117 android:authorities="com.android.launcher.settings"
118 android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
119 android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
120
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -0700121 </application>
122</manifest>