blob: e81c4c96a4b025c5dfe1316d351b482ea9219d05 [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"
The Android Open Source Project233a0132009-02-19 10:57:35 -080023 android:sharedUserId="android.uid.shared"
24 android:sharedUserLabel="@string/application_name">
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070025
The Android Open Source Projectd097a182008-12-17 18:05:58 -080026 <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"/>
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070050
The Android Open Source Projectd097a182008-12-17 18:05:58 -080051 <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" />
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070054 <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" />
The Android Open Source Projectd097a182008-12-17 18:05:58 -080057 <uses-permission android:name="android.permission.VIBRATE" />
58 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
59 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
60 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070061
62 <application
The Android Open Source Projectd097a182008-12-17 18:05:58 -080063 android:name="LauncherApplication"
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070064 android:process="android.process.acore"
65 android:label="@string/application_name"
66 android:icon="@drawable/ic_launcher_home">
67
The Android Open Source Projectd097a182008-12-17 18:05:58 -080068 <activity
69 android:name="Launcher"
70 android:launchMode="singleTask"
71 android:clearTaskOnLaunch="true"
72 android:stateNotNeeded="true"
The Android Open Source Project38a75b22009-03-03 14:04:32 -080073 android:theme="@style/Theme">
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070074 <intent-filter>
75 <action android:name="android.intent.action.MAIN" />
76 <category android:name="android.intent.category.HOME"/>
77 <category android:name="android.intent.category.DEFAULT" />
78 <category android:name="android.intent.category.MONKEY" />
79 </intent-filter>
80 </activity>
81
The Android Open Source Projectd097a182008-12-17 18:05:58 -080082 <activity
83 android:name="WallpaperChooser"
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070084 android:label="@string/pick_wallpaper"
85 android:icon="@drawable/ic_launcher_gallery">
86 <intent-filter>
87 <action android:name="android.intent.action.SET_WALLPAPER" />
88 <category android:name="android.intent.category.DEFAULT" />
89 </intent-filter>
90 </activity>
91
92 <!-- Enable system-default search mode for any activity in Home -->
The Android Open Source Projectd097a182008-12-17 18:05:58 -080093 <meta-data
94 android:name="android.app.default_searchable"
95 android:value="*" />
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -070096
The Android Open Source Projectd097a182008-12-17 18:05:58 -080097 <!-- Intent received used to install shortcuts from other applications -->
98 <receiver
99 android:name=".InstallShortcutReceiver"
100 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -0700101 <intent-filter>
102 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
103 </intent-filter>
104 </receiver>
105
The Android Open Source Projectd097a182008-12-17 18:05:58 -0800106 <!-- Intent received used to uninstall shortcuts from other applications -->
107 <receiver
108 android:name=".UninstallShortcutReceiver"
109 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -0700110 <intent-filter>
111 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
112 </intent-filter>
113 </receiver>
114
The Android Open Source Projectd097a182008-12-17 18:05:58 -0800115 <!-- The settings provider contains Home's data, like the workspace favorites -->
116 <provider
117 android:name="LauncherProvider"
118 android:authorities="com.android.launcher.settings"
119 android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
120 android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
121
The Android Open Source Projectc8f00b62008-10-21 07:00:00 -0700122 </application>
123</manifest>