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