AndroidManifest.xml revision 14c5a2cdb05d17a175ff3138f1c111cb8e7bd3ad
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="android.permission.GET_ACCOUNTS" />
61    <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
62    <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
63
64    <application
65        android:name="com.android.launcher2.LauncherApplication"
66        android:label="@string/application_name"
67        android:icon="@drawable/ic_launcher_home"
68        android:hardwareAccelerated="true"
69        android:largeHeap="@bool/config_largeHeap">
70        <activity
71            android:name="com.android.launcher2.Launcher"
72            android:launchMode="singleTask"
73            android:clearTaskOnLaunch="true"
74            android:stateNotNeeded="true"
75            android:theme="@style/Theme"
76            android:windowSoftInputMode="adjustPan"
77            android:screenOrientation="nosensor">
78            <intent-filter>
79                <action android:name="android.intent.action.MAIN" />
80                <category android:name="android.intent.category.HOME" />
81                <category android:name="android.intent.category.DEFAULT" />
82                <category android:name="android.intent.category.MONKEY"/>
83            </intent-filter>
84        </activity>
85
86        <activity
87            android:name="com.android.launcher2.WallpaperChooser"
88            style="@style/Theme.WallpaperPicker"
89            android:label="@string/pick_wallpaper"
90            android:icon="@drawable/ic_launcher_wallpaper"
91            android:finishOnCloseSystemDialogs="true"
92            android:process=":wallpaper_chooser">
93            <intent-filter>
94                <action android:name="android.intent.action.SET_WALLPAPER" />
95                <category android:name="android.intent.category.DEFAULT" />
96            </intent-filter>
97            <meta-data android:name="android.wallpaper.preview"
98                android:resource="@xml/wallpaper_picker_preview" />
99        </activity>
100
101        <activity android:name="com.android.launcher2.RocketLauncher"
102            android:label="@string/dream_name"
103            android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
104            <intent-filter>
105                <action android:name="android.intent.action.MAIN" />
106                <category android:name="android.intent.category.DEFAULT" />
107                <category android:name="android.intent.category.DREAM" />
108            </intent-filter>
109        </activity>
110
111        <!-- Intent received used to prepopulate the default workspace. -->
112        <receiver
113            android:name="com.android.launcher2.PreloadReceiver"
114            android:permission="com.android.launcher.permission.PRELOAD_WORKSPACE">
115            <intent-filter>
116                <action android:name="com.android.launcher.action.PRELOAD_WORKSPACE" />
117            </intent-filter>
118        </receiver>
119
120        <!-- Intent received used to install shortcuts from other applications -->
121        <receiver
122            android:name="com.android.launcher2.InstallShortcutReceiver"
123            android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
124            <intent-filter>
125                <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
126            </intent-filter>
127        </receiver>
128
129        <!-- Intent received used to uninstall shortcuts from other applications -->
130        <receiver
131            android:name="com.android.launcher2.UninstallShortcutReceiver"
132            android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
133            <intent-filter>
134                <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
135            </intent-filter>
136        </receiver>
137
138        <!-- The settings provider contains Home's data, like the workspace favorites -->
139        <provider
140            android:name="com.android.launcher2.LauncherProvider"
141            android:authorities="com.android.launcher2.settings"
142            android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
143            android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
144
145        <meta-data android:name="android.nfc.disable_beam_default"
146                       android:value="true" />
147    </application>
148</manifest>
149