OSDN Git Service

Merge "Removing Launcher broadcast support from Launcher3" into ub-launcher3-calgary
[android-x86/packages-apps-Launcher3.git] / AndroidManifest.xml
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.launcher3">
23     <uses-sdk android:targetSdkVersion="23" android:minSdkVersion="16"/>
24
25     <permission
26         android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
27         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
28         android:protectionLevel="dangerous"
29         android:label="@string/permlab_install_shortcut"
30         android:description="@string/permdesc_install_shortcut" />
31     <permission
32         android:name="com.android.launcher3.permission.READ_SETTINGS"
33         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
34         android:protectionLevel="normal"
35         android:label="@string/permlab_read_settings"
36         android:description="@string/permdesc_read_settings"/>
37     <permission
38         android:name="com.android.launcher3.permission.WRITE_SETTINGS"
39         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
40         android:protectionLevel="signatureOrSystem"
41         android:label="@string/permlab_write_settings"
42         android:description="@string/permdesc_write_settings"/>
43
44     <uses-permission android:name="android.permission.CALL_PHONE" />
45     <uses-permission android:name="android.permission.SET_WALLPAPER" />
46     <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
47     <uses-permission android:name="android.permission.BIND_APPWIDGET" />
48     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
49     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
50     <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
51     <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
52     <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
53     <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
54
55     <application
56         android:allowBackup="@bool/enable_backup"
57         android:backupAgent="com.android.launcher3.LauncherBackupAgentHelper"
58         android:hardwareAccelerated="true"
59         android:icon="@mipmap/ic_launcher_home"
60         android:label="@string/app_name"
61         android:largeHeap="@bool/config_largeHeap"
62         android:restoreAnyVersion="true"
63         android:supportsRtl="true" >
64
65         <activity
66             android:name="com.android.launcher3.Launcher"
67             android:launchMode="singleTask"
68             android:clearTaskOnLaunch="true"
69             android:stateNotNeeded="true"
70             android:theme="@style/LauncherTheme"
71             android:windowSoftInputMode="adjustPan"
72             android:screenOrientation="nosensor"
73             android:configChanges="keyboard|keyboardHidden|navigation"
74             android:resumeWhilePausing="true"
75             android:taskAffinity=""
76             android:enabled="true">
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.launcher3.SettingsActivity"
87             android:label="@string/settings_button_text"
88             android:autoRemoveFromRecents="true"
89             android:process=":settings_process">
90         </activity>
91
92         <!-- Intent received used to install shortcuts from other applications -->
93         <receiver
94             android:name="com.android.launcher3.InstallShortcutReceiver"
95             android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
96             <intent-filter>
97                 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
98             </intent-filter>
99         </receiver>
100
101         <!-- Intent received used to initialize a restored widget -->
102         <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
103             <intent-filter>
104                 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
105             </intent-filter>
106         </receiver>
107
108         <service android:name=".dynamicui.ColorExtractionService"
109             android:exported="false"
110             android:process=":wallpaper_chooser">
111         </service>
112
113         <!-- The settings provider contains Home's data, like the workspace favorites -->
114         <provider
115             android:name="com.android.launcher3.LauncherProvider"
116             android:authorities="com.android.launcher3.settings"
117             android:exported="true"
118             android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
119             android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
120
121         <meta-data android:name="android.nfc.disable_beam_default"
122                        android:value="true" />
123
124         <!-- ENABLE_FOR_TESTING
125
126         <activity
127             android:name="com.android.launcher3.testing.LauncherExtension"
128             android:launchMode="singleTask"
129             android:clearTaskOnLaunch="true"
130             android:stateNotNeeded="true"
131             android:theme="@style/Theme"
132             android:windowSoftInputMode="adjustPan"
133             android:screenOrientation="nosensor"
134             >
135             <intent-filter>
136                 <action android:name="android.intent.action.MAIN" />
137                 <category android:name="android.intent.category.HOME" />
138                 <category android:name="android.intent.category.DEFAULT" />
139                 <category android:name="android.intent.category.MONKEY"/>
140             </intent-filter>
141         </activity>
142
143         <activity
144             android:name="com.android.launcher3.testing.MemoryDumpActivity"
145             android:theme="@android:style/Theme.NoDisplay"
146             android:label="* HPROF"
147             android:excludeFromRecents="true"
148             android:icon="@mipmap/ic_launcher_home"
149             >
150             <intent-filter>
151                 <action android:name="android.intent.action.MAIN" />
152                 <category android:name="android.intent.category.DEFAULT" />
153                 <category android:name="android.intent.category.LAUNCHER" />
154             </intent-filter>
155         </activity>
156
157         <activity
158             android:name="com.android.launcher3.testing.ToggleWeightWatcher"
159             android:label="Show Mem"
160             android:icon="@mipmap/ic_launcher_home">
161             <intent-filter>
162                 <action android:name="android.intent.action.MAIN" />
163                 <category android:name="android.intent.category.DEFAULT" />
164                 <category android:name="android.intent.category.LAUNCHER" />
165             </intent-filter>
166         </activity>
167
168         <service android:name="com.android.launcher3.testing.MemoryTracker" />
169
170         -->
171
172     </application>
173 </manifest>