OSDN Git Service

Moving a few testing classes to a separate package
[android-x86/packages-apps-Trebuchet.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
24     <original-package android:name="com.android.launcher3" />
25
26     <uses-sdk android:targetSdkVersion="23" android:minSdkVersion="22"/>
27
28     <permission
29         android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
30         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
31         android:protectionLevel="dangerous"
32         android:label="@string/permlab_install_shortcut"
33         android:description="@string/permdesc_install_shortcut" />
34     <permission
35         android:name="com.android.launcher3.permission.READ_SETTINGS"
36         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
37         android:protectionLevel="normal"
38         android:label="@string/permlab_read_settings"
39         android:description="@string/permdesc_read_settings"/>
40     <permission
41         android:name="com.android.launcher3.permission.WRITE_SETTINGS"
42         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
43         android:protectionLevel="signatureOrSystem"
44         android:label="@string/permlab_write_settings"
45         android:description="@string/permdesc_write_settings"/>
46     <permission
47         android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"
48         android:protectionLevel="signature"
49         />
50     <permission
51         android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST"
52         android:protectionLevel="signatureOrSystem" />
53
54     <uses-permission android:name="android.permission.CALL_PHONE" />
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.BIND_APPWIDGET" />
59     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
60     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
61     <uses-permission android:name="android.permission.BROADCAST_STICKY"/>
62     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
63     <uses-permission android:name="android.permission.INTERNET" />
64     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
65     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
66     <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
67     <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
68     <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
69     <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
70     <uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" />
71     <uses-permission android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST" />
72     <uses-permission android:name="cyanogenmod.permission.PROTECTED_APP" />
73
74     <application
75         android:allowBackup="@bool/enable_backup"
76         android:backupAgent="com.android.launcher3.LauncherBackupAgentHelper"
77         android:hardwareAccelerated="true"
78         android:icon="@mipmap/ic_launcher_home"
79         android:label="@string/cm_application_name"
80         android:largeHeap="@bool/config_largeHeap"
81         android:restoreAnyVersion="true"
82         android:supportsRtl="true" >
83
84         <activity
85             android:name="com.android.launcher3.Launcher"
86             android:launchMode="singleTask"
87             android:clearTaskOnLaunch="true"
88             android:stateNotNeeded="true"
89             android:theme="@style/Theme"
90             android:windowSoftInputMode="adjustPan"
91             android:screenOrientation="nosensor"
92             android:resumeWhilePausing="true"
93             android:taskAffinity=""
94             android:excludeFromRecents="true"
95             android:configChanges="mcc|mnc"
96             android:enabled="true">
97             <intent-filter>
98                 <action android:name="android.intent.action.MAIN" />
99                 <category android:name="android.intent.category.HOME" />
100                 <category android:name="android.intent.category.DEFAULT" />
101                 <category android:name="android.intent.category.MONKEY"/>
102             </intent-filter>
103         </activity>
104
105         <activity
106             android:name="com.android.launcher3.WallpaperPickerActivity"
107             android:theme="@style/Theme.WallpaperPicker"
108             android:label="@string/pick_wallpaper"
109             android:icon="@mipmap/ic_launcher_wallpaper"
110             android:finishOnCloseSystemDialogs="true"
111             android:process=":wallpaper_chooser"
112             android:enabled="false">
113             <intent-filter>
114                 <action android:name="android.intent.action.SET_WALLPAPER" />
115                 <category android:name="android.intent.category.DEFAULT" />
116             </intent-filter>
117         </activity>
118
119         <activity
120             android:name="com.android.launcher3.WallpaperCropActivity"
121             android:theme="@style/Theme.WallpaperCropper"
122             android:label="@string/crop_wallpaper"
123             android:icon="@mipmap/ic_launcher_wallpaper"
124             android:finishOnCloseSystemDialogs="true"
125             android:process=":wallpaper_chooser"
126             android:enabled="false">
127             <intent-filter>
128                 <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
129                 <category android:name="android.intent.category.DEFAULT" />
130                 <data android:mimeType="image/*" />
131             </intent-filter>
132         </activity>
133
134         <receiver
135             android:name="com.android.launcher3.WallpaperChangedReceiver">
136             <intent-filter>
137                 <action android:name="android.intent.action.WALLPAPER_CHANGED" />
138             </intent-filter>
139         </receiver>
140
141         <!-- Intent received used to install shortcuts from other applications -->
142         <receiver
143             android:name="com.android.launcher3.InstallShortcutReceiver"
144             android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
145             <intent-filter>
146                 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
147             </intent-filter>
148         </receiver>
149
150         <!-- Intent received used to initialize a restored widget -->
151         <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
152             <intent-filter>
153                 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
154             </intent-filter>
155         </receiver>
156
157         <receiver android:name="com.android.launcher3.StartupReceiver" >
158             <intent-filter>
159                 <action android:name="android.intent.action.BOOT_COMPLETED" />
160             </intent-filter>
161         </receiver>
162
163         <receiver android:name="com.android.launcher3.ThemeChangedReceiver" >
164             <intent-filter>
165                 <action android:name="org.cyanogenmod.intent.action.THEME_CHANGED"/>
166             </intent-filter>
167         </receiver>
168
169         <!-- The settings provider contains Home's data, like the workspace favorites -->
170         <provider
171             android:name="com.android.launcher3.LauncherProvider"
172             android:authorities="com.android.launcher3.settings"
173             android:exported="true"
174             android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
175             android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
176
177         <meta-data android:name="android.nfc.disable_beam_default"
178                        android:value="true" />
179
180         <!-- ENABLE_FOR_TESTING
181
182         <activity
183             android:name="com.android.launcher3.testing.LauncherExtension"
184             android:launchMode="singleTask"
185             android:clearTaskOnLaunch="true"
186             android:stateNotNeeded="true"
187             android:theme="@style/Theme"
188             android:windowSoftInputMode="adjustPan"
189             android:screenOrientation="nosensor"
190             >
191             <intent-filter>
192                 <action android:name="android.intent.action.MAIN" />
193                 <category android:name="android.intent.category.HOME" />
194                 <category android:name="android.intent.category.DEFAULT" />
195                 <category android:name="android.intent.category.MONKEY"/>
196             </intent-filter>
197         </activity>
198
199         <activity
200             android:name="com.android.launcher3.testing.MemoryDumpActivity"
201             android:theme="@android:style/Theme.NoDisplay"
202             android:label="* HPROF"
203             android:excludeFromRecents="true"
204             android:icon="@mipmap/ic_launcher_home"
205             >
206             <intent-filter>
207                 <action android:name="android.intent.action.MAIN" />
208                 <category android:name="android.intent.category.DEFAULT" />
209                 <category android:name="android.intent.category.LAUNCHER" />
210             </intent-filter>
211         </activity>
212
213         <activity
214             android:name="com.android.launcher3.testing.ToggleWeightWatcher"
215             android:label="Show Mem"
216             android:icon="@mipmap/ic_launcher_home">
217             <intent-filter>
218                 <action android:name="android.intent.action.MAIN" />
219                 <category android:name="android.intent.category.DEFAULT" />
220                 <category android:name="android.intent.category.LAUNCHER" />
221             </intent-filter>
222         </activity>
223
224         <service android:name="com.android.launcher3.testing.MemoryTracker" />
225
226         -->
227
228     </application>
229 </manifest>