OSDN Git Service

am a4d0ef3c: am 7c9f3348: Merge remote-tracking branch \'goog/ub-now-lunchbox\' into...
[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     <uses-sdk android:targetSdkVersion="21" 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.launcher.permission.UNINSTALL_SHORTCUT"
33         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
34         android:protectionLevel="dangerous"
35         android:label="@string/permlab_uninstall_shortcut"
36         android:description="@string/permdesc_uninstall_shortcut"/>
37     <permission
38         android:name="com.android.launcher3.permission.READ_SETTINGS"
39         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
40         android:protectionLevel="normal"
41         android:label="@string/permlab_read_settings"
42         android:description="@string/permdesc_read_settings"/>
43     <permission
44         android:name="com.android.launcher3.permission.WRITE_SETTINGS"
45         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
46         android:protectionLevel="signatureOrSystem"
47         android:label="@string/permlab_write_settings"
48         android:description="@string/permdesc_write_settings"/>
49     <permission
50         android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"
51         android:protectionLevel="signature"
52         />
53     <permission
54         android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST"
55         android:protectionLevel="signatureOrSystem" />
56
57     <uses-permission android:name="android.permission.CALL_PHONE" />
58     <uses-permission android:name="android.permission.SET_WALLPAPER" />
59     <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
60     <uses-permission android:name="android.permission.VIBRATE" />
61     <uses-permission android:name="android.permission.BIND_APPWIDGET" />
62     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
63     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
64     <uses-permission android:name="android.permission.BROADCAST_STICKY"/>
65     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
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
73     <application
74         android:name="com.android.launcher3.LauncherApplication"
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/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:enabled="true">
93             <intent-filter>
94                 <action android:name="android.intent.action.MAIN" />
95                 <category android:name="android.intent.category.HOME" />
96                 <category android:name="android.intent.category.DEFAULT" />
97                 <category android:name="android.intent.category.MONKEY"/>
98             </intent-filter>
99         </activity>
100
101         <activity
102             android:name="com.android.launcher3.LauncherExtension"
103             android:launchMode="singleTask"
104             android:clearTaskOnLaunch="true"
105             android:stateNotNeeded="true"
106             android:theme="@style/Theme"
107             android:windowSoftInputMode="adjustPan"
108             android:screenOrientation="nosensor"
109             android:enabled="false">
110             <intent-filter>
111                 <action android:name="android.intent.action.MAIN" />
112                 <category android:name="android.intent.category.HOME" />
113                 <category android:name="android.intent.category.DEFAULT" />
114                 <category android:name="android.intent.category.MONKEY"/>
115             </intent-filter>
116         </activity>
117
118         <activity
119             android:name="com.android.launcher3.ToggleWeightWatcher"
120             android:label="@string/toggle_weight_watcher"
121             android:enabled="@bool/debug_memory_enabled"
122             android:icon="@mipmap/ic_launcher_home">
123             <intent-filter>
124                 <action android:name="android.intent.action.MAIN" />
125                 <category android:name="android.intent.category.DEFAULT" />
126                 <category android:name="android.intent.category.LAUNCHER" />
127             </intent-filter>
128         </activity>
129
130         <activity
131             android:name="com.android.launcher3.LauncherWallpaperPickerActivity"
132             android:theme="@style/Theme.WallpaperPicker"
133             android:label="@string/pick_wallpaper"
134             android:icon="@mipmap/ic_launcher_wallpaper"
135             android:finishOnCloseSystemDialogs="true"
136             android:process=":wallpaper_chooser">
137             <intent-filter>
138                 <action android:name="android.intent.action.SET_WALLPAPER" />
139                 <category android:name="android.intent.category.DEFAULT" />
140             </intent-filter>
141         </activity>
142
143         <activity
144             android:name="com.android.launcher3.WallpaperCropActivity"
145             android:theme="@style/Theme.WallpaperCropper"
146             android:label="@string/crop_wallpaper"
147             android:icon="@mipmap/ic_launcher_wallpaper"
148             android:finishOnCloseSystemDialogs="true"
149             android:process=":wallpaper_chooser">
150             <intent-filter>
151                 <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
152                 <category android:name="android.intent.category.DEFAULT" />
153                 <data android:mimeType="image/*" />
154             </intent-filter>
155         </activity>
156
157         <!-- Debugging tools -->
158         <activity
159             android:name="com.android.launcher3.MemoryDumpActivity"
160             android:theme="@android:style/Theme.NoDisplay"
161             android:label="@string/debug_memory_activity"
162             android:enabled="@bool/debug_memory_enabled"
163             android:excludeFromRecents="true"
164             android:icon="@mipmap/ic_launcher_home"
165             >
166             <intent-filter>
167                 <action android:name="android.intent.action.MAIN" />
168                 <category android:name="android.intent.category.DEFAULT" />
169                 <category android:name="android.intent.category.LAUNCHER" />
170             </intent-filter>
171         </activity>
172
173         <service android:name="com.android.launcher3.MemoryTracker"
174             android:enabled="@bool/debug_memory_enabled"
175             >
176         </service>
177
178         <receiver
179             android:name="com.android.launcher3.WallpaperChangedReceiver">
180             <intent-filter>
181                 <action android:name="android.intent.action.WALLPAPER_CHANGED" />
182             </intent-filter>
183         </receiver>
184
185         <!-- Intent received used to install shortcuts from other applications -->
186         <receiver
187             android:name="com.android.launcher3.InstallShortcutReceiver"
188             android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
189             <intent-filter>
190                 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
191             </intent-filter>
192         </receiver>
193
194         <!-- Intent received used to uninstall shortcuts from other applications -->
195         <receiver
196             android:name="com.android.launcher3.UninstallShortcutReceiver"
197             android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
198             <intent-filter>
199                 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
200             </intent-filter>
201         </receiver>
202
203         <!-- Intent received used to initialize a restored widget -->
204         <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
205             <intent-filter>
206                 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
207             </intent-filter>
208         </receiver>
209
210         <!-- New user initialization; set up initial wallpaper -->
211         <receiver
212             android:name="com.android.launcher3.UserInitializeReceiver"
213             android:exported="false">
214             <intent-filter>
215                 <action android:name="android.intent.action.USER_INITIALIZE" />
216             </intent-filter>
217         </receiver>
218
219         <receiver android:name="com.android.launcher3.PackageChangedReceiver" >
220             <intent-filter>
221                 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
222                 <action android:name="android.intent.action.PACKAGE_REPLACED"/>
223                 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
224                 <data android:scheme="package"></data>
225             </intent-filter>
226         </receiver>
227
228         <receiver android:name="com.android.launcher3.StartupReceiver" >
229             <intent-filter>
230                 <action android:name="android.intent.action.BOOT_COMPLETED" />
231             </intent-filter>
232         </receiver>
233
234         <!-- The settings provider contains Home's data, like the workspace favorites -->
235         <provider
236             android:name="com.android.launcher3.LauncherProvider"
237             android:authorities="com.android.launcher3.settings"
238             android:exported="true"
239             android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
240             android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
241
242         <meta-data android:name="android.nfc.disable_beam_default"
243                        android:value="true" />
244     </application>
245 </manifest>