blob: c0d03bc7f0f6c7abf5d86a61270b54292fcaeab8 [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-->
20<manifest
21 xmlns:android="http://schemas.android.com/apk/res/android"
Joe Onoratoa5902522009-07-30 13:37:37 -070022 package="com.android.launcher2"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080023 android:sharedUserId="android.uid.shared"
Dianne Hackbornf2287532009-06-24 20:08:36 -070024 android:sharedUserLabel="@string/uid_name">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080025
Joe Onoratoa5902522009-07-30 13:37:37 -070026 <!-- Turned off until there is only one launcher
The Android Open Source Project31dd5032009-03-03 19:32:27 -080027 <permission
28 android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
29 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
30 android:protectionLevel="normal"
31 android:label="@string/permlab_install_shortcut"
32 android:description="@string/permdesc_install_shortcut" />
33 <permission
34 android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
35 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
36 android:protectionLevel="normal"
37 android:label="@string/permlab_uninstall_shortcut"
38 android:description="@string/permdesc_uninstall_shortcut"/>
39 <permission
40 android:name="com.android.launcher.permission.READ_SETTINGS"
41 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
42 android:protectionLevel="normal"
43 android:label="@string/permlab_read_settings"
44 android:description="@string/permdesc_read_settings"/>
45 <permission
46 android:name="com.android.launcher.permission.WRITE_SETTINGS"
47 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
48 android:protectionLevel="normal"
49 android:label="@string/permlab_write_settings"
50 android:description="@string/permdesc_write_settings"/>
Joe Onoratoa5902522009-07-30 13:37:37 -070051 -->
The Android Open Source Project31dd5032009-03-03 19:32:27 -080052
53 <uses-permission android:name="android.permission.CALL_PHONE" />
54 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
55 <uses-permission android:name="android.permission.GET_TASKS" />
56 <uses-permission android:name="android.permission.READ_CONTACTS"/>
57 <uses-permission android:name="android.permission.SET_WALLPAPER" />
58 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
59 <uses-permission android:name="android.permission.VIBRATE" />
60 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Jeff Sharkey6d3bfe52009-05-07 16:12:05 -070061 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080062 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
63 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
64
65 <application
66 android:name="LauncherApplication"
67 android:process="android.process.acore"
68 android:label="@string/application_name"
69 android:icon="@drawable/ic_launcher_home">
70
71 <activity
72 android:name="Launcher"
73 android:launchMode="singleTask"
74 android:clearTaskOnLaunch="true"
75 android:stateNotNeeded="true"
76 android:theme="@style/Theme"
Jeffrey Sharkeyd1d36ba2009-03-27 17:13:54 -070077 android:screenOrientation="nosensor"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080078 android:windowSoftInputMode="stateUnspecified|adjustPan">
79 <intent-filter>
80 <action android:name="android.intent.action.MAIN" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080081 <category android:name="android.intent.category.DEFAULT" />
Joe Onoratoa5902522009-07-30 13:37:37 -070082 <category android:name="android.intent.category.LAUNCHER"/>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080083 </intent-filter>
84 </activity>
85
86 <activity
87 android:name="WallpaperChooser"
88 android:label="@string/pick_wallpaper"
89 android:icon="@drawable/ic_launcher_gallery">
90 <intent-filter>
91 <action android:name="android.intent.action.SET_WALLPAPER" />
92 <category android:name="android.intent.category.DEFAULT" />
93 </intent-filter>
94 </activity>
Romain Guy73b979d2009-06-09 12:57:21 -070095
The Android Open Source Project31dd5032009-03-03 19:32:27 -080096 <!-- Enable system-default search mode for any activity in Home -->
97 <meta-data
98 android:name="android.app.default_searchable"
99 android:value="*" />
100
101 <!-- Intent received used to install shortcuts from other applications -->
102 <receiver
103 android:name=".InstallShortcutReceiver"
104 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
105 <intent-filter>
106 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
107 </intent-filter>
108 </receiver>
109
110 <!-- Intent received used to uninstall shortcuts from other applications -->
111 <receiver
112 android:name=".UninstallShortcutReceiver"
113 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
114 <intent-filter>
115 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
116 </intent-filter>
117 </receiver>
118
119 <!-- The settings provider contains Home's data, like the workspace favorites -->
120 <provider
121 android:name="LauncherProvider"
Joe Onoratoa5902522009-07-30 13:37:37 -0700122 android:authorities="com.android.launcher2.settings"
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800123 android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
124 android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
125
126 </application>
127</manifest>