blob: e6d8435bb8ca05b9fe33a5edabf488a4be219698 [file] [log] [blame]
The Android Open Source Project31dd5032009-03-03 19:32:27 -08001<?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-->
Romain Guy41669fc2009-08-13 12:53:24 -070020<!--TODO MAKE THE sharedUserId be uid.system again !! -->
The Android Open Source Project31dd5032009-03-03 19:32:27 -080021<manifest
22 xmlns:android="http://schemas.android.com/apk/res/android"
Dianne Hackborn02e638e2009-08-20 19:33:42 -070023 package="com.android.launcher2">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080024
Joe Onoratoa5902522009-07-30 13:37:37 -070025 <!-- Turned off until there is only one launcher
The Android Open Source Project31dd5032009-03-03 19:32:27 -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"/>
Joe Onoratoa5902522009-07-30 13:37:37 -070050 -->
The Android Open Source Project31dd5032009-03-03 19:32:27 -080051
52 <uses-permission android:name="android.permission.CALL_PHONE" />
53 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
54 <uses-permission android:name="android.permission.GET_TASKS" />
55 <uses-permission android:name="android.permission.READ_CONTACTS"/>
56 <uses-permission android:name="android.permission.SET_WALLPAPER" />
57 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
58 <uses-permission android:name="android.permission.VIBRATE" />
59 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Jeff Sharkey6d3bfe52009-05-07 16:12:05 -070060 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080061 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
62 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
63
Dianne Hackborn02e638e2009-08-20 19:33:42 -070064 <!-- these two are only needed for the wallpaper picker -->
65 <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
66 <uses-permission android:name="android.permission.BIND_WALLPAPER" />
67
Joe Onorato00acb122009-08-04 16:04:30 -040068 <!-- During development, run outside acore
69 android:process="android.process.acore"
70 -->
The Android Open Source Project31dd5032009-03-03 19:32:27 -080071 <application
72 android:name="LauncherApplication"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080073 android:label="@string/application_name"
74 android:icon="@drawable/ic_launcher_home">
75
76 <activity
77 android:name="Launcher"
78 android:launchMode="singleTask"
79 android:clearTaskOnLaunch="true"
80 android:stateNotNeeded="true"
81 android:theme="@style/Theme"
Jeffrey Sharkeyd1d36ba2009-03-27 17:13:54 -070082 android:screenOrientation="nosensor"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080083 android:windowSoftInputMode="stateUnspecified|adjustPan">
84 <intent-filter>
85 <action android:name="android.intent.action.MAIN" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070086 <category android:name="android.intent.category.HOME" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080087 <category android:name="android.intent.category.DEFAULT" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070088 <category android:name="android.intent.category.MONKEY"/>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080089 </intent-filter>
90 </activity>
91
92 <activity
93 android:name="WallpaperChooser"
94 android:label="@string/pick_wallpaper"
95 android:icon="@drawable/ic_launcher_gallery">
96 <intent-filter>
97 <action android:name="android.intent.action.SET_WALLPAPER" />
98 <category android:name="android.intent.category.DEFAULT" />
99 </intent-filter>
100 </activity>
Romain Guy73b979d2009-06-09 12:57:21 -0700101
Dianne Hackborn02e638e2009-08-20 19:33:42 -0700102 <!-- TODO: MOVE TO SETTINGS (or actually maybe to its own package) -->
Romain Guy41669fc2009-08-13 12:53:24 -0700103 <!-- Standard picker for live wallpapers -->
104 <activity android:name="LiveWallpaperPickActivity"
105 android:label="@string/live_wallpaper_picker_title"
Dianne Hackborn02e638e2009-08-20 19:33:42 -0700106 android:theme="@android:style/Theme.Wallpaper">
Romain Guy41669fc2009-08-13 12:53:24 -0700107 <intent-filter>
108 <action android:name="android.service.wallpaper.LIVE_WALLPAPER_CHOOSER" />
109 <action android:name="android.intent.action.SET_WALLPAPER" />
110 <category android:name="android.intent.category.DEFAULT" />
111 </intent-filter>
112 </activity>
113
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800114 <!-- Enable system-default search mode for any activity in Home -->
115 <meta-data
116 android:name="android.app.default_searchable"
117 android:value="*" />
118
119 <!-- Intent received used to install shortcuts from other applications -->
120 <receiver
121 android:name=".InstallShortcutReceiver"
122 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
123 <intent-filter>
124 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
125 </intent-filter>
126 </receiver>
127
128 <!-- Intent received used to uninstall shortcuts from other applications -->
129 <receiver
130 android:name=".UninstallShortcutReceiver"
131 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
132 <intent-filter>
133 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
134 </intent-filter>
135 </receiver>
136
137 <!-- The settings provider contains Home's data, like the workspace favorites -->
138 <provider
139 android:name="LauncherProvider"
Joe Onoratoa5902522009-07-30 13:37:37 -0700140 android:authorities="com.android.launcher2.settings"
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800141 android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
142 android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
143
144 </application>
145</manifest>