AndroidManifest.xml revision cf8790483d0f6007731affaf612592cddd0a7d29
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.EXPAND_STATUS_BAR" />
53    <uses-permission android:name="android.permission.GET_TASKS" />
54    <uses-permission android:name="android.permission.READ_CONTACTS"/>
55    <uses-permission android:name="android.permission.SET_WALLPAPER" />
56    <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
57    <uses-permission android:name="android.permission.VIBRATE" />
58    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
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
68        <activity
69            android:name="com.android.launcher2.Launcher"
70            android:launchMode="singleTask"
71            android:clearTaskOnLaunch="true"
72            android:stateNotNeeded="true"
73            android:theme="@style/Theme"
74            android:screenOrientation="nosensor"
75            android:windowSoftInputMode="stateUnspecified|adjustPan">
76            <intent-filter>
77                <action android:name="android.intent.action.MAIN" />
78                <category android:name="android.intent.category.HOME" />
79                <category android:name="android.intent.category.DEFAULT" />
80                <category android:name="android.intent.category.MONKEY"/>
81            </intent-filter>
82        </activity>
83
84        <activity
85            android:name="com.android.launcher2.WallpaperChooser"
86            android:label="@string/pick_wallpaper"
87            android:icon="@drawable/ic_launcher_wallpaper"
88            android:screenOrientation="nosensor"
89            android:finishOnCloseSystemDialogs="true">
90            <intent-filter>
91                <action android:name="android.intent.action.SET_WALLPAPER" />
92                <category android:name="android.intent.category.DEFAULT" />
93            </intent-filter>
94        </activity>
95
96        <!-- Intent received used to install shortcuts from other applications -->
97        <receiver
98            android:name="com.android.launcher2.InstallShortcutReceiver"
99            android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
100            <intent-filter>
101                <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
102            </intent-filter>
103        </receiver>
104
105        <!-- Intent received used to uninstall shortcuts from other applications -->
106        <receiver
107            android:name="com.android.launcher2.UninstallShortcutReceiver"
108            android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
109            <intent-filter>
110                <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
111            </intent-filter>
112        </receiver>
113
114        <!-- The settings provider contains Home's data, like the workspace favorites -->
115        <provider
116            android:name="com.android.launcher2.LauncherProvider"
117            android:authorities="com.android.launcher2.settings"
118            android:writePermission="com.android.launcher.permission.WRITE_SETTINGS"
119            android:readPermission="com.android.launcher.permission.READ_SETTINGS" />
120
121    </application>
122</manifest>
123