AndroidManifest.xml revision a60166386d21aa3e69c77149bc7ae030f385c9b0
1<?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"
22    package="com.android.launcher">
23
24    <original-package android:name="com.android.launcher2" />
25
26    <permission
27        android:name="com.android.launcher.permission.PRELOAD_WORKSPACE"
28        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
29        android:protectionLevel="system|signature" />
30    <permission
31        android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
32        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
33        android:protectionLevel="normal"
34        android:label="@string/permlab_install_shortcut"
35        android:description="@string/permdesc_install_shortcut" />
36    <permission
37        android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
38        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
39        android:protectionLevel="normal"
40        android:label="@string/permlab_uninstall_shortcut"
41        android:description="@string/permdesc_uninstall_shortcut"/>
42    <permission
43        android:name="com.android.launcher.permission.READ_SETTINGS"
44        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
45        android:protectionLevel="normal"
46        android:label="@string/permlab_read_settings"
47        android:description="@string/permdesc_read_settings"/>
48    <permission
49        android:name="com.android.launcher.permission.WRITE_SETTINGS"
50        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
51        android:protectionLevel="normal"
52        android:label="@string/permlab_write_settings"
53        android:description="@string/permdesc_write_settings"/>
54
55    <uses-permission android:name="android.permission.CALL_PHONE" />
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.BIND_APPWIDGET" />
60    <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
61    <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
62
63    <application
64        android:name="com.android.launcher2.LauncherApplication"
65        android:label="@string/application_name"
66        android:icon="@drawable/ic_launcher_home"
67        android:hardwareAccelerated="@bool/config_hardwareAccelerated"
68        android:largeHeap="@bool/config_largeHeap">
69        <activity
70            android:name="com.android.launcher2.Launcher"
71            android:launchMode="singleTask"
72            android:clearTaskOnLaunch="true"
73            android:stateNotNeeded="true"
74            android:theme="@style/Theme"
75            android:windowSoftInputMode="adjustPan"
76            android:screenOrientation="nosensor">
77            <intent-filter>
78                <action android:name="android.intent.action.MAIN" />
79                <category android:name="android.intent.category.HOME" />
80                <category android:name="android.intent.category.DEFAULT" />
81                <category android:name="android.intent.category.MONKEY"/>
82            </intent-filter>
83        </activity>
84
85        <activity
86            android:name="com.android.launcher2.WallpaperChooser"
87            style="@style/Theme.WallpaperPicker"
88            android:label="@string/pick_wallpaper"
89            android:icon="@drawable/ic_launcher_wallpaper"
90            android:finishOnCloseSystemDialogs="true"
91            android:process=":wallpaper_chooser">
92            <intent-filter>
93                <action android:name="android.intent.action.SET_WALLPAPER" />
94                <category android:name="android.intent.category.DEFAULT" />
95            </intent-filter>
96            <meta-data android:name="android.wallpaper.preview"
97                android:resource="@xml/wallpaper_picker_preview" />
98        </activity>
99
100        <activity android:name="com.android.launcher2.RocketLauncher"
101            android:label="@string/dream_name"
102            android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
103            <intent-filter>
104                <action android:name="android.intent.action.MAIN" />
105                <category android:name="android.intent.category.DEFAULT" />
106                <category android:name="android.intent.category.DREAM" />
107            </intent-filter>
108        </activity>
109
110        <!-- Intent received used to prepopulate the default workspace. -->
111        <receiver
112            android:name="com.android.launcher2.PreloadReceiver"
113            android:permission="com.android.launcher.permission.PRELOAD_WORKSPACE">
114            <intent-filter>
115                <action android:name="com.android.launcher.action.PRELOAD_WORKSPACE" />
116            </intent-filter>
117        </receiver>
118
119        <!-- Intent received used to install shortcuts from other applications -->
120        <receiver
121            android:name="com.android.launcher2.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="com.android.launcher2.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="com.android.launcher2.LauncherProvider"
140            android:authorities="com.android.launcher2.settings"
141            android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
142            android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
143
144        <meta-data android:name="android.nfc.disable_beam_default"
145                       android:value="true" />
146    </application>
147</manifest>
148