AndroidManifest.xml revision 4e01d33852d68196a47c6c10d54a4f17d3f9be99
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.INSTALL_SHORTCUT"
28        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
29        android:protectionLevel="normal"
30        android:label="@string/permlab_install_shortcut"
31        android:description="@string/permdesc_install_shortcut" />
32    <permission
33        android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
34        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
35        android:protectionLevel="normal"
36        android:label="@string/permlab_uninstall_shortcut"
37        android:description="@string/permdesc_uninstall_shortcut"/>
38    <permission
39        android:name="com.android.launcher.permission.READ_SETTINGS"
40        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
41        android:protectionLevel="normal"
42        android:label="@string/permlab_read_settings"
43        android:description="@string/permdesc_read_settings"/>
44    <permission
45        android:name="com.android.launcher.permission.WRITE_SETTINGS"
46        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
47        android:protectionLevel="normal"
48        android:label="@string/permlab_write_settings"
49        android:description="@string/permdesc_write_settings"/>
50
51    <uses-permission android:name="android.permission.CALL_PHONE" />
52    <uses-permission android:name="android.permission.SET_WALLPAPER" />
53    <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
54    <uses-permission android:name="android.permission.VIBRATE" />
55    <uses-permission android:name="android.permission.BIND_APPWIDGET" />
56    <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
57    <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
58
59    <application
60        android:name="com.android.launcher2.LauncherApplication"
61        android:label="@string/application_name"
62        android:icon="@drawable/ic_launcher_home"
63        android:hardwareAccelerated="@bool/config_hardwareAccelerated"
64        android:largeHeap="@bool/config_largeHeap">
65        <activity
66            android:name="com.android.launcher2.Launcher"
67            android:launchMode="singleTask"
68            android:clearTaskOnLaunch="true"
69            android:stateNotNeeded="true"
70            android:theme="@style/Theme"
71            android:windowSoftInputMode="adjustPan"
72            android:screenOrientation="nosensor">
73            <intent-filter>
74                <action android:name="android.intent.action.MAIN" />
75                <category android:name="android.intent.category.HOME" />
76                <category android:name="android.intent.category.DEFAULT" />
77                <category android:name="android.intent.category.MONKEY"/>
78            </intent-filter>
79        </activity>
80
81        <activity
82            android:name="com.android.launcher2.WallpaperChooser"
83            style="@style/Theme.WallpaperPicker"
84            android:label="@string/pick_wallpaper"
85            android:icon="@drawable/ic_launcher_wallpaper"
86            android:finishOnCloseSystemDialogs="true"
87            android:process=":wallpaper_chooser">
88            <intent-filter>
89                <action android:name="android.intent.action.SET_WALLPAPER" />
90                <category android:name="android.intent.category.DEFAULT" />
91            </intent-filter>
92            <meta-data android:name="android.wallpaper.preview"
93                android:resource="@xml/wallpaper_picker_preview" />
94        </activity>
95
96        <activity android:name="com.android.launcher2.RocketLauncher"
97            android:label="@string/dream_name"
98            android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
99            <intent-filter>
100                <action android:name="android.intent.action.MAIN" />
101                <category android:name="android.intent.category.DEFAULT" />
102                <category android:name="android.intent.category.DREAM" />
103            </intent-filter>
104        </activity>
105
106        <!-- Intent received used to install shortcuts from other applications -->
107        <receiver
108            android:name="com.android.launcher2.InstallShortcutReceiver"
109            android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
110            <intent-filter>
111                <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
112            </intent-filter>
113        </receiver>
114
115        <!-- Intent received used to uninstall shortcuts from other applications -->
116        <receiver
117            android:name="com.android.launcher2.UninstallShortcutReceiver"
118            android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
119            <intent-filter>
120                <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
121            </intent-filter>
122        </receiver>
123
124        <!-- The settings provider contains Home's data, like the workspace favorites -->
125        <provider
126            android:name="com.android.launcher2.LauncherProvider"
127            android:authorities="com.android.launcher2.settings"
128            android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
129            android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
130
131    </application>
132</manifest>
133