OSDN Git Service

Removing WallpaperPicker from Launcher3
[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     <permission
44         android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"
45         android:protectionLevel="signature"
46         />
47     <permission
48         android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST"
49         android:protectionLevel="signatureOrSystem" />
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.BIND_APPWIDGET" />
55     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
56     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
57     <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
58     <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
59     <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
60     <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
61     <uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" />
62     <uses-permission android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST" />
63
64     <application
65         android:allowBackup="@bool/enable_backup"
66         android:backupAgent="com.android.launcher3.LauncherBackupAgentHelper"
67         android:hardwareAccelerated="true"
68         android:icon="@mipmap/ic_launcher_home"
69         android:label="@string/app_name"
70         android:largeHeap="@bool/config_largeHeap"
71         android:restoreAnyVersion="true"
72         android:supportsRtl="true" >
73
74         <activity
75             android:name="com.android.launcher3.Launcher"
76             android:launchMode="singleTask"
77             android:clearTaskOnLaunch="true"
78             android:stateNotNeeded="true"
79             android:theme="@style/LauncherTheme"
80             android:windowSoftInputMode="adjustPan"
81             android:screenOrientation="nosensor"
82             android:configChanges="keyboard|keyboardHidden|navigation"
83             android:resumeWhilePausing="true"
84             android:taskAffinity=""
85             android:enabled="true">
86             <intent-filter>
87                 <action android:name="android.intent.action.MAIN" />
88                 <category android:name="android.intent.category.HOME" />
89                 <category android:name="android.intent.category.DEFAULT" />
90                 <category android:name="android.intent.category.MONKEY"/>
91             </intent-filter>
92         </activity>
93
94         <activity
95             android:name="com.android.launcher3.SettingsActivity"
96             android:label="@string/settings_button_text"
97             android:autoRemoveFromRecents="true"
98             android:process=":settings_process">
99         </activity>
100
101         <!-- Intent received used to install shortcuts from other applications -->
102         <receiver
103             android:name="com.android.launcher3.InstallShortcutReceiver"
104             android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
105             <intent-filter>
106                 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
107             </intent-filter>
108         </receiver>
109
110         <!-- Intent received used to initialize a restored widget -->
111         <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
112             <intent-filter>
113                 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
114             </intent-filter>
115         </receiver>
116
117         <service android:name=".dynamicui.ColorExtractionService"
118             android:exported="false"
119             android:process=":wallpaper_chooser">
120         </service>
121
122         <!-- The settings provider contains Home's data, like the workspace favorites -->
123         <provider
124             android:name="com.android.launcher3.LauncherProvider"
125             android:authorities="com.android.launcher3.settings"
126             android:exported="true"
127             android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
128             android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
129
130         <meta-data android:name="android.nfc.disable_beam_default"
131                        android:value="true" />
132
133         <!-- ENABLE_FOR_TESTING
134
135         <activity
136             android:name="com.android.launcher3.testing.LauncherExtension"
137             android:launchMode="singleTask"
138             android:clearTaskOnLaunch="true"
139             android:stateNotNeeded="true"
140             android:theme="@style/Theme"
141             android:windowSoftInputMode="adjustPan"
142             android:screenOrientation="nosensor"
143             >
144             <intent-filter>
145                 <action android:name="android.intent.action.MAIN" />
146                 <category android:name="android.intent.category.HOME" />
147                 <category android:name="android.intent.category.DEFAULT" />
148                 <category android:name="android.intent.category.MONKEY"/>
149             </intent-filter>
150         </activity>
151
152         <activity
153             android:name="com.android.launcher3.testing.MemoryDumpActivity"
154             android:theme="@android:style/Theme.NoDisplay"
155             android:label="* HPROF"
156             android:excludeFromRecents="true"
157             android:icon="@mipmap/ic_launcher_home"
158             >
159             <intent-filter>
160                 <action android:name="android.intent.action.MAIN" />
161                 <category android:name="android.intent.category.DEFAULT" />
162                 <category android:name="android.intent.category.LAUNCHER" />
163             </intent-filter>
164         </activity>
165
166         <activity
167             android:name="com.android.launcher3.testing.ToggleWeightWatcher"
168             android:label="Show Mem"
169             android:icon="@mipmap/ic_launcher_home">
170             <intent-filter>
171                 <action android:name="android.intent.action.MAIN" />
172                 <category android:name="android.intent.category.DEFAULT" />
173                 <category android:name="android.intent.category.LAUNCHER" />
174             </intent-filter>
175         </activity>
176
177         <service android:name="com.android.launcher3.testing.MemoryTracker" />
178
179         -->
180
181     </application>
182 </manifest>