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.VIBRATE" />
55    <uses-permission android:name="android.permission.BIND_APPWIDGET" />
56    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
57    <uses-permission android:name="android.permission.BROADCAST_STICKY"/>
58    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
59    <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
60    <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
61    <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
62    <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
63    <uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" />
64    <uses-permission android:name="com.android.launcher3.permission.RECEIVE_FIRST_LOAD_BROADCAST" />
65
66    <application
67        android:allowBackup="@bool/enable_backup"
68        android:backupAgent="com.android.launcher3.LauncherBackupAgentHelper"
69        android:hardwareAccelerated="true"
70        android:icon="@mipmap/ic_launcher_home"
71        android:label="@string/application_name"
72        android:largeHeap="@bool/config_largeHeap"
73        android:restoreAnyVersion="true"
74        android:supportsRtl="true" >
75
76        <activity
77            android:name="com.android.launcher3.Launcher"
78            android:launchMode="singleTask"
79            android:clearTaskOnLaunch="true"
80            android:stateNotNeeded="true"
81            android:theme="@style/Theme"
82            android:windowSoftInputMode="adjustPan"
83            android:screenOrientation="nosensor"
84            android:resumeWhilePausing="true"
85            android:taskAffinity=""
86            android:enabled="true">
87            <intent-filter>
88                <action android:name="android.intent.action.MAIN" />
89                <category android:name="android.intent.category.HOME" />
90                <category android:name="android.intent.category.DEFAULT" />
91                <category android:name="android.intent.category.MONKEY"/>
92            </intent-filter>
93        </activity>
94
95        <!-- ENABLE_FOR_TESTING
96
97        <activity
98            android:name="com.android.launcher3.testing.LauncherExtension"
99            android:launchMode="singleTask"
100            android:clearTaskOnLaunch="true"
101            android:stateNotNeeded="true"
102            android:theme="@style/Theme"
103            android:windowSoftInputMode="adjustPan"
104            android:screenOrientation="nosensor"
105            android:enabled="false">
106            <intent-filter>
107                <action android:name="android.intent.action.MAIN" />
108                <category android:name="android.intent.category.HOME" />
109                <category android:name="android.intent.category.DEFAULT" />
110                <category android:name="android.intent.category.MONKEY"/>
111            </intent-filter>
112        </activity>
113
114        -->
115
116        <activity
117            android:name="com.android.launcher3.ToggleWeightWatcher"
118            android:label="@string/toggle_weight_watcher"
119            android:enabled="@bool/debug_memory_enabled"
120            android:icon="@mipmap/ic_launcher_home">
121            <intent-filter>
122                <action android:name="android.intent.action.MAIN" />
123                <category android:name="android.intent.category.DEFAULT" />
124                <category android:name="android.intent.category.LAUNCHER" />
125            </intent-filter>
126        </activity>
127
128        <activity
129            android:name="com.android.launcher3.WallpaperPickerActivity"
130            android:theme="@style/Theme.WallpaperPicker"
131            android:label="@string/pick_wallpaper"
132            android:icon="@mipmap/ic_launcher_wallpaper"
133            android:finishOnCloseSystemDialogs="true"
134            android:process=":wallpaper_chooser">
135            <intent-filter>
136                <action android:name="android.intent.action.SET_WALLPAPER" />
137                <category android:name="android.intent.category.DEFAULT" />
138            </intent-filter>
139        </activity>
140
141        <activity
142            android:name="com.android.launcher3.WallpaperCropActivity"
143            android:theme="@style/Theme.WallpaperCropper"
144            android:label="@string/crop_wallpaper"
145            android:icon="@mipmap/ic_launcher_wallpaper"
146            android:finishOnCloseSystemDialogs="true"
147            android:process=":wallpaper_chooser">
148            <intent-filter>
149                <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
150                <category android:name="android.intent.category.DEFAULT" />
151                <data android:mimeType="image/*" />
152            </intent-filter>
153        </activity>
154
155        <activity
156            android:name="com.android.launcher3.SettingsActivity"
157            android:label="@string/settings_button_text"
158            android:autoRemoveFromRecents="true"
159            android:process=":settings_process">
160        </activity>
161
162        <!-- Debugging tools -->
163        <activity
164            android:name="com.android.launcher3.MemoryDumpActivity"
165            android:theme="@android:style/Theme.NoDisplay"
166            android:label="@string/debug_memory_activity"
167            android:enabled="@bool/debug_memory_enabled"
168            android:excludeFromRecents="true"
169            android:icon="@mipmap/ic_launcher_home"
170            >
171            <intent-filter>
172                <action android:name="android.intent.action.MAIN" />
173                <category android:name="android.intent.category.DEFAULT" />
174                <category android:name="android.intent.category.LAUNCHER" />
175            </intent-filter>
176        </activity>
177
178        <service android:name="com.android.launcher3.MemoryTracker"
179            android:enabled="@bool/debug_memory_enabled"
180            >
181        </service>
182
183        <receiver
184            android:name="com.android.launcher3.WallpaperChangedReceiver">
185            <intent-filter>
186                <action android:name="android.intent.action.WALLPAPER_CHANGED" />
187            </intent-filter>
188        </receiver>
189
190        <!-- Intent received used to install shortcuts from other applications -->
191        <receiver
192            android:name="com.android.launcher3.InstallShortcutReceiver"
193            android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
194            <intent-filter>
195                <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
196            </intent-filter>
197        </receiver>
198
199        <!-- Intent received used to initialize a restored widget -->
200        <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
201            <intent-filter>
202                <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
203            </intent-filter>
204        </receiver>
205
206        <receiver android:name="com.android.launcher3.StartupReceiver" >
207            <intent-filter>
208                <action android:name="android.intent.action.BOOT_COMPLETED" />
209            </intent-filter>
210        </receiver>
211
212        <!-- The settings provider contains Home's data, like the workspace favorites -->
213        <provider
214            android:name="com.android.launcher3.LauncherProvider"
215            android:authorities="com.android.launcher3.settings"
216            android:exported="true"
217            android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
218            android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
219
220        <meta-data android:name="android.nfc.disable_beam_default"
221                       android:value="true" />
222    </application>
223</manifest>
224