OSDN Git Service

8d0a3b680ef18542f219d468ada9130bbe68dbbc
[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         <!-- ENABLE_FOR_TESTING
106
107         <activity
108             android:name="com.android.launcher3.testing.LauncherExtension"
109             android:launchMode="singleTask"
110             android:clearTaskOnLaunch="true"
111             android:stateNotNeeded="true"
112             android:theme="@style/Theme"
113             android:windowSoftInputMode="adjustPan"
114             android:screenOrientation="nosensor"
115             android:enabled="false">
116             <intent-filter>
117                 <action android:name="android.intent.action.MAIN" />
118                 <category android:name="android.intent.category.HOME" />
119                 <category android:name="android.intent.category.DEFAULT" />
120                 <category android:name="android.intent.category.MONKEY"/>
121             </intent-filter>
122         </activity>
123
124         -->
125
126         <activity
127             android:name="com.android.launcher3.ToggleWeightWatcher"
128             android:label="@string/toggle_weight_watcher"
129             android:enabled="@bool/debug_memory_enabled"
130             android:icon="@mipmap/ic_launcher_home">
131             <intent-filter>
132                 <action android:name="android.intent.action.MAIN" />
133                 <category android:name="android.intent.category.DEFAULT" />
134                 <category android:name="android.intent.category.LAUNCHER" />
135             </intent-filter>
136         </activity>
137
138         <activity
139             android:name="com.android.launcher3.WallpaperPickerActivity"
140             android:theme="@style/Theme.WallpaperPicker"
141             android:label="@string/pick_wallpaper"
142             android:icon="@mipmap/ic_launcher_wallpaper"
143             android:finishOnCloseSystemDialogs="true"
144             android:process=":wallpaper_chooser"
145             android:enabled="false">
146             <intent-filter>
147                 <action android:name="android.intent.action.SET_WALLPAPER" />
148                 <category android:name="android.intent.category.DEFAULT" />
149             </intent-filter>
150         </activity>
151
152         <activity
153             android:name="com.android.launcher3.WallpaperCropActivity"
154             android:theme="@style/Theme.WallpaperCropper"
155             android:label="@string/crop_wallpaper"
156             android:icon="@mipmap/ic_launcher_wallpaper"
157             android:finishOnCloseSystemDialogs="true"
158             android:process=":wallpaper_chooser"
159             android:enabled="false">
160             <intent-filter>
161                 <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
162                 <category android:name="android.intent.category.DEFAULT" />
163                 <data android:mimeType="image/*" />
164             </intent-filter>
165         </activity>
166
167         <!-- Debugging tools -->
168         <activity
169             android:name="com.android.launcher3.MemoryDumpActivity"
170             android:theme="@android:style/Theme.NoDisplay"
171             android:label="@string/debug_memory_activity"
172             android:enabled="@bool/debug_memory_enabled"
173             android:excludeFromRecents="true"
174             android:icon="@mipmap/ic_launcher_home"
175             >
176             <intent-filter>
177                 <action android:name="android.intent.action.MAIN" />
178                 <category android:name="android.intent.category.DEFAULT" />
179                 <category android:name="android.intent.category.LAUNCHER" />
180             </intent-filter>
181         </activity>
182
183         <service android:name="com.android.launcher3.MemoryTracker"
184             android:enabled="@bool/debug_memory_enabled"
185             >
186         </service>
187
188         <receiver
189             android:name="com.android.launcher3.WallpaperChangedReceiver">
190             <intent-filter>
191                 <action android:name="android.intent.action.WALLPAPER_CHANGED" />
192             </intent-filter>
193         </receiver>
194
195         <!-- Intent received used to install shortcuts from other applications -->
196         <receiver
197             android:name="com.android.launcher3.InstallShortcutReceiver"
198             android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
199             <intent-filter>
200                 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
201             </intent-filter>
202         </receiver>
203
204         <!-- Intent received used to initialize a restored widget -->
205         <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
206             <intent-filter>
207                 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
208             </intent-filter>
209         </receiver>
210
211         <receiver android:name="com.android.launcher3.StartupReceiver" >
212             <intent-filter>
213                 <action android:name="android.intent.action.BOOT_COMPLETED" />
214             </intent-filter>
215         </receiver>
216
217         <receiver android:name="com.android.launcher3.ThemeChangedReceiver" >
218             <intent-filter>
219                 <action android:name="org.cyanogenmod.intent.action.THEME_CHANGED"/>
220             </intent-filter>
221         </receiver>
222
223         <!-- The settings provider contains Home's data, like the workspace favorites -->
224         <provider
225             android:name="com.android.launcher3.LauncherProvider"
226             android:authorities="com.android.launcher3.settings"
227             android:exported="true"
228             android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
229             android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
230
231         <meta-data android:name="android.nfc.disable_beam_default"
232                        android:value="true" />
233
234         <meta-data android:name="com.cyanogen.ambient.analytics.key"
235                    android:value="DScKo29EpMBx1833F7ln1811KFPf14UT"/>
236     </application>
237 </manifest>