OSDN Git Service

am 9ee14249: am 07130d40: 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             <intent-filter>
93                 <action android:name="android.intent.action.MAIN" />
94                 <category android:name="android.intent.category.HOME" />
95                 <category android:name="android.intent.category.DEFAULT" />
96                 <category android:name="android.intent.category.MONKEY"/>
97             </intent-filter>
98         </activity>
99
100         <activity
101             android:name="com.android.launcher3.ToggleWeightWatcher"
102             android:label="@string/toggle_weight_watcher"
103             android:enabled="@bool/debug_memory_enabled"
104             android:icon="@mipmap/ic_launcher_home">
105             <intent-filter>
106                 <action android:name="android.intent.action.MAIN" />
107                 <category android:name="android.intent.category.DEFAULT" />
108                 <category android:name="android.intent.category.LAUNCHER" />
109             </intent-filter>
110         </activity>
111
112         <activity
113             android:name="com.android.launcher3.LauncherWallpaperPickerActivity"
114             android:theme="@style/Theme.WallpaperPicker"
115             android:label="@string/pick_wallpaper"
116             android:icon="@mipmap/ic_launcher_wallpaper"
117             android:finishOnCloseSystemDialogs="true"
118             android:process=":wallpaper_chooser">
119             <intent-filter>
120                 <action android:name="android.intent.action.SET_WALLPAPER" />
121                 <category android:name="android.intent.category.DEFAULT" />
122             </intent-filter>
123         </activity>
124
125         <activity
126             android:name="com.android.launcher3.WallpaperCropActivity"
127             android:theme="@style/Theme.WallpaperCropper"
128             android:label="@string/crop_wallpaper"
129             android:icon="@mipmap/ic_launcher_wallpaper"
130             android:finishOnCloseSystemDialogs="true"
131             android:process=":wallpaper_chooser">
132             <intent-filter>
133                 <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
134                 <category android:name="android.intent.category.DEFAULT" />
135                 <data android:mimeType="image/*" />
136             </intent-filter>
137         </activity>
138
139         <!-- Debugging tools -->
140         <activity
141             android:name="com.android.launcher3.MemoryDumpActivity"
142             android:theme="@android:style/Theme.NoDisplay"
143             android:label="@string/debug_memory_activity"
144             android:enabled="@bool/debug_memory_enabled"
145             android:excludeFromRecents="true"
146             android:icon="@mipmap/ic_launcher_home"
147             >
148             <intent-filter>
149                 <action android:name="android.intent.action.MAIN" />
150                 <category android:name="android.intent.category.DEFAULT" />
151                 <category android:name="android.intent.category.LAUNCHER" />
152             </intent-filter>
153         </activity>
154
155         <service android:name="com.android.launcher3.MemoryTracker"
156             android:enabled="@bool/debug_memory_enabled"
157             >
158         </service>
159
160         <receiver
161             android:name="com.android.launcher3.WallpaperChangedReceiver">
162             <intent-filter>
163                 <action android:name="android.intent.action.WALLPAPER_CHANGED" />
164             </intent-filter>
165         </receiver>
166
167         <!-- Intent received used to install shortcuts from other applications -->
168         <receiver
169             android:name="com.android.launcher3.InstallShortcutReceiver"
170             android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
171             <intent-filter>
172                 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
173             </intent-filter>
174         </receiver>
175
176         <!-- Intent received used to uninstall shortcuts from other applications -->
177         <receiver
178             android:name="com.android.launcher3.UninstallShortcutReceiver"
179             android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
180             <intent-filter>
181                 <action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
182             </intent-filter>
183         </receiver>
184
185         <!-- Intent received used to initialize a restored widget -->
186         <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
187             <intent-filter>
188                 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
189             </intent-filter>
190         </receiver>
191
192         <!-- New user initialization; set up initial wallpaper -->
193         <receiver
194             android:name="com.android.launcher3.UserInitializeReceiver"
195             android:exported="false">
196             <intent-filter>
197                 <action android:name="android.intent.action.USER_INITIALIZE" />
198             </intent-filter>
199         </receiver>
200
201         <receiver android:name="com.android.launcher3.PackageChangedReceiver" >
202             <intent-filter>
203                 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
204                 <action android:name="android.intent.action.PACKAGE_REPLACED"/>
205                 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
206                 <data android:scheme="package"></data>
207             </intent-filter>
208         </receiver>
209
210         <receiver android:name="com.android.launcher3.StartupReceiver" >
211             <intent-filter>
212                 <action android:name="android.intent.action.BOOT_COMPLETED" />
213             </intent-filter>
214         </receiver>
215
216         <!-- The settings provider contains Home's data, like the workspace favorites -->
217         <provider
218             android:name="com.android.launcher3.LauncherProvider"
219             android:authorities="com.android.launcher3.settings"
220             android:exported="true"
221             android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
222             android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
223
224         <meta-data android:name="android.nfc.disable_beam_default"
225                        android:value="true" />
226     </application>
227 </manifest>