blob: dfbafdebf29fd0c3f1f005d7fad2ed6b5a858194 [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
25 <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"/>
49
50 <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" />
53 <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" />
56 <uses-permission android:name="android.permission.VIBRATE" />
57 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Jeff Sharkey6d3bfe52009-05-07 16:12:05 -070058 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080059 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
60 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
61
Dianne Hackborn02e638e2009-08-20 19:33:42 -070062 <!-- these two are only needed for the wallpaper picker -->
63 <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
64 <uses-permission android:name="android.permission.BIND_WALLPAPER" />
65
Joe Onorato00acb122009-08-04 16:04:30 -040066 <!-- During development, run outside acore
67 android:process="android.process.acore"
68 -->
The Android Open Source Project31dd5032009-03-03 19:32:27 -080069 <application
70 android:name="LauncherApplication"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080071 android:label="@string/application_name"
72 android:icon="@drawable/ic_launcher_home">
73
74 <activity
75 android:name="Launcher"
76 android:launchMode="singleTask"
77 android:clearTaskOnLaunch="true"
78 android:stateNotNeeded="true"
79 android:theme="@style/Theme"
Jeffrey Sharkeyd1d36ba2009-03-27 17:13:54 -070080 android:screenOrientation="nosensor"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080081 android:windowSoftInputMode="stateUnspecified|adjustPan">
82 <intent-filter>
83 <action android:name="android.intent.action.MAIN" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070084 <category android:name="android.intent.category.HOME" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080085 <category android:name="android.intent.category.DEFAULT" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070086 <category android:name="android.intent.category.MONKEY"/>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080087 </intent-filter>
88 </activity>
89
90 <activity
91 android:name="WallpaperChooser"
92 android:label="@string/pick_wallpaper"
Daniel Sandler9a60d542009-10-06 12:57:42 -040093 android:icon="@drawable/ic_launcher_wallpaper">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080094 <intent-filter>
95 <action android:name="android.intent.action.SET_WALLPAPER" />
96 <category android:name="android.intent.category.DEFAULT" />
97 </intent-filter>
98 </activity>
Romain Guy73b979d2009-06-09 12:57:21 -070099
Dianne Hackborn02e638e2009-08-20 19:33:42 -0700100 <!-- TODO: MOVE TO SETTINGS (or actually maybe to its own package) -->
Romain Guy41669fc2009-08-13 12:53:24 -0700101 <!-- Standard picker for live wallpapers -->
102 <activity android:name="LiveWallpaperPickActivity"
Daniel Sandler9a60d542009-10-06 12:57:42 -0400103 android:icon="@drawable/ic_launcher_appwidget"
Romain Guy41669fc2009-08-13 12:53:24 -0700104 android:label="@string/live_wallpaper_picker_title"
Dianne Hackborn02e638e2009-08-20 19:33:42 -0700105 android:theme="@android:style/Theme.Wallpaper">
Romain Guy41669fc2009-08-13 12:53:24 -0700106 <intent-filter>
107 <action android:name="android.service.wallpaper.LIVE_WALLPAPER_CHOOSER" />
108 <action android:name="android.intent.action.SET_WALLPAPER" />
109 <category android:name="android.intent.category.DEFAULT" />
110 </intent-filter>
111 </activity>
112
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800113 <!-- Enable system-default search mode for any activity in Home -->
114 <meta-data
115 android:name="android.app.default_searchable"
116 android:value="*" />
117
118 <!-- Intent received used to install shortcuts from other applications -->
119 <receiver
120 android:name=".InstallShortcutReceiver"
121 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
122 <intent-filter>
123 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
124 </intent-filter>
125 </receiver>
126
127 <!-- Intent received used to uninstall shortcuts from other applications -->
128 <receiver
129 android:name=".UninstallShortcutReceiver"
130 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
131 <intent-filter>
132 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
133 </intent-filter>
134 </receiver>
135
136 <!-- The settings provider contains Home's data, like the workspace favorites -->
137 <provider
138 android:name="LauncherProvider"
Joe Onoratoa5902522009-07-30 13:37:37 -0700139 android:authorities="com.android.launcher2.settings"
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800140 android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
141 android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
142
143 </application>
144</manifest>