blob: ebcdea59f4e955082b49f4ca2f82b1666aeef979 [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"
Romain Guya45f6642009-10-16 15:07:32 -070022 package="com.android.launcher2"
Joe Onorato24a40dc2009-11-05 16:42:25 -050023 >
Jeff Hamilton95db7372010-02-11 16:25:50 -060024
25 <original-package android:name="com.android.launcher2" />
26
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"/>
51
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" />
Dianne Hackborn02e638e2009-08-20 19:33:42 -070063
The Android Open Source Project31dd5032009-03-03 19:32:27 -080064 <application
65 android:name="LauncherApplication"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080066 android:label="@string/application_name"
67 android:icon="@drawable/ic_launcher_home">
68
69 <activity
70 android:name="Launcher"
71 android:launchMode="singleTask"
72 android:clearTaskOnLaunch="true"
73 android:stateNotNeeded="true"
74 android:theme="@style/Theme"
Jeffrey Sharkeyd1d36ba2009-03-27 17:13:54 -070075 android:screenOrientation="nosensor"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080076 android:windowSoftInputMode="stateUnspecified|adjustPan">
77 <intent-filter>
78 <action android:name="android.intent.action.MAIN" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070079 <category android:name="android.intent.category.HOME" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080080 <category android:name="android.intent.category.DEFAULT" />
Joe Onorato7b7a2cd2009-09-23 08:32:02 -070081 <category android:name="android.intent.category.MONKEY"/>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080082 </intent-filter>
83 </activity>
84
85 <activity
86 android:name="WallpaperChooser"
87 android:label="@string/pick_wallpaper"
Romain Guye11f9f42009-11-08 15:31:40 -080088 android:icon="@drawable/ic_launcher_wallpaper"
Joe Onorato2ca0ae72009-11-10 13:14:13 -080089 android:screenOrientation="nosensor"
90 android:finishOnCloseSystemDialogs="true">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080091 <intent-filter>
92 <action android:name="android.intent.action.SET_WALLPAPER" />
93 <category android:name="android.intent.category.DEFAULT" />
94 </intent-filter>
95 </activity>
Romain Guy73b979d2009-06-09 12:57:21 -070096
The Android Open Source Project31dd5032009-03-03 19:32:27 -080097 <!-- Enable system-default search mode for any activity in Home -->
98 <meta-data
99 android:name="android.app.default_searchable"
100 android:value="*" />
101
102 <!-- Intent received used to install shortcuts from other applications -->
103 <receiver
104 android:name=".InstallShortcutReceiver"
105 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
106 <intent-filter>
107 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
108 </intent-filter>
109 </receiver>
110
111 <!-- Intent received used to uninstall shortcuts from other applications -->
112 <receiver
113 android:name=".UninstallShortcutReceiver"
114 android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
115 <intent-filter>
116 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
117 </intent-filter>
118 </receiver>
119
120 <!-- The settings provider contains Home's data, like the workspace favorites -->
121 <provider
122 android:name="LauncherProvider"
Joe Onoratoa5902522009-07-30 13:37:37 -0700123 android:authorities="com.android.launcher2.settings"
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800124 android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
125 android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
126
127 </application>
128</manifest>