blob: 701ca77d8b17740a197db0c63086f8ec6ce1b557 [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"
Joe Onoratoa5902522009-07-30 13:37:37 -070023 package="com.android.launcher2"
Romain Guy41669fc2009-08-13 12:53:24 -070024 android:sharedUserId="android.uid.system"
Dianne Hackbornf2287532009-06-24 20:08:36 -070025 android:sharedUserLabel="@string/uid_name">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080026
Joe Onoratoa5902522009-07-30 13:37:37 -070027 <!-- Turned off until there is only one launcher
The Android Open Source Project31dd5032009-03-03 19:32:27 -080028 <permission
29 android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
30 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
31 android:protectionLevel="normal"
32 android:label="@string/permlab_install_shortcut"
33 android:description="@string/permdesc_install_shortcut" />
34 <permission
35 android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
36 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
37 android:protectionLevel="normal"
38 android:label="@string/permlab_uninstall_shortcut"
39 android:description="@string/permdesc_uninstall_shortcut"/>
40 <permission
41 android:name="com.android.launcher.permission.READ_SETTINGS"
42 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
43 android:protectionLevel="normal"
44 android:label="@string/permlab_read_settings"
45 android:description="@string/permdesc_read_settings"/>
46 <permission
47 android:name="com.android.launcher.permission.WRITE_SETTINGS"
48 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
49 android:protectionLevel="normal"
50 android:label="@string/permlab_write_settings"
51 android:description="@string/permdesc_write_settings"/>
Joe Onoratoa5902522009-07-30 13:37:37 -070052 -->
The Android Open Source Project31dd5032009-03-03 19:32:27 -080053
54 <uses-permission android:name="android.permission.CALL_PHONE" />
55 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
56 <uses-permission android:name="android.permission.GET_TASKS" />
57 <uses-permission android:name="android.permission.READ_CONTACTS"/>
58 <uses-permission android:name="android.permission.SET_WALLPAPER" />
59 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
Romain Guy41669fc2009-08-13 12:53:24 -070060 <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080061 <uses-permission android:name="android.permission.VIBRATE" />
62 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Jeff Sharkey6d3bfe52009-05-07 16:12:05 -070063 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080064 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
65 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
66
Joe Onorato00acb122009-08-04 16:04:30 -040067 <!-- During development, run outside acore
68 android:process="android.process.acore"
69 -->
The Android Open Source Project31dd5032009-03-03 19:32:27 -080070 <application
71 android:name="LauncherApplication"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080072 android:label="@string/application_name"
73 android:icon="@drawable/ic_launcher_home">
74
75 <activity
76 android:name="Launcher"
77 android:launchMode="singleTask"
78 android:clearTaskOnLaunch="true"
79 android:stateNotNeeded="true"
80 android:theme="@style/Theme"
Jeffrey Sharkeyd1d36ba2009-03-27 17:13:54 -070081 android:screenOrientation="nosensor"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080082 android:windowSoftInputMode="stateUnspecified|adjustPan">
83 <intent-filter>
84 <action android:name="android.intent.action.MAIN" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080085 <category android:name="android.intent.category.DEFAULT" />
Joe Onoratoa5902522009-07-30 13:37:37 -070086 <category android:name="android.intent.category.LAUNCHER"/>
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"
93 android:icon="@drawable/ic_launcher_gallery">
94 <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
Romain Guy41669fc2009-08-13 12:53:24 -0700100 <!-- TODO: MOVE TO SETTINGS -->
101 <!-- Standard picker for live wallpapers -->
102 <activity android:name="LiveWallpaperPickActivity"
103 android:label="@string/live_wallpaper_picker_title"
104 android:theme="@*android:style/Theme.Dialog.Alert">
105 <intent-filter>
106 <action android:name="android.service.wallpaper.LIVE_WALLPAPER_CHOOSER" />
107 <action android:name="android.intent.action.SET_WALLPAPER" />
108 <category android:name="android.intent.category.DEFAULT" />
109 </intent-filter>
110 </activity>
111
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800112 <!-- Enable system-default search mode for any activity in Home -->
113 <meta-data
114 android:name="android.app.default_searchable"
115 android:value="*" />
116
117 <!-- Intent received used to install shortcuts from other applications -->
118 <receiver
119 android:name=".InstallShortcutReceiver"
120 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
121 <intent-filter>
122 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
123 </intent-filter>
124 </receiver>
125
126 <!-- Intent received used to uninstall shortcuts from other applications -->
127 <receiver
128 android:name=".UninstallShortcutReceiver"
129 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
130 <intent-filter>
131 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
132 </intent-filter>
133 </receiver>
134
135 <!-- The settings provider contains Home's data, like the workspace favorites -->
136 <provider
137 android:name="LauncherProvider"
Joe Onoratoa5902522009-07-30 13:37:37 -0700138 android:authorities="com.android.launcher2.settings"
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800139 android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
140 android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
141
142 </application>
143</manifest>