blob: e7b703cab9cd46d1b3fce96de539653f8bff4e31 [file] [log] [blame]
The Android Open Source Project31dd5032009-03-03 19:32:27 -08001<?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"
Daniel Sandler325dc232013-06-05 22:57:57 -040022 package="com.android.launcher3">
Sunny Goyal830b5e02015-08-21 09:26:10 -070023 <uses-sdk android:targetSdkVersion="23" android:minSdkVersion="16"/>
Jeff Hamilton95db7372010-02-11 16:25:50 -060024
The Android Open Source Project31dd5032009-03-03 19:32:27 -080025 <permission
Winson Chung94d67682013-09-25 16:29:40 -070026 android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080027 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Nick Kralevich33650302012-08-07 10:21:13 -070028 android:protectionLevel="dangerous"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080029 android:label="@string/permlab_install_shortcut"
30 android:description="@string/permdesc_install_shortcut" />
31 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040032 android:name="com.android.launcher3.permission.READ_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080033 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
Daniel Sandler325dc232013-06-05 22:57:57 -040038 android:name="com.android.launcher3.permission.WRITE_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080039 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Winson Chungc66109c2014-02-26 11:50:46 -080040 android:protectionLevel="signatureOrSystem"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080041 android:label="@string/permlab_write_settings"
42 android:description="@string/permdesc_write_settings"/>
Daniel Sandlerff02d492013-08-05 02:12:05 -040043
The Android Open Source Project31dd5032009-03-03 19:32:27 -080044 <uses-permission android:name="android.permission.CALL_PHONE" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -080045 <uses-permission android:name="android.permission.SET_WALLPAPER" />
46 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
Jeff Sharkey6d3bfe52009-05-07 16:12:05 -070047 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
John Spurlock2c38e702013-09-18 10:48:25 -040048 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Sunny Goyalf599ccf2014-07-08 13:01:29 -070049 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Adam Cohene25af792013-06-06 23:08:25 -070050 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
51 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
Daniel Sandler325dc232013-06-05 22:57:57 -040052 <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
53 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
Adam Cohen76fc0852011-06-17 13:26:23 -070054
The Android Open Source Project31dd5032009-03-03 19:32:27 -080055 <application
Sunny Goyal0fc1be12014-08-11 17:05:23 -070056 android:allowBackup="@bool/enable_backup"
57 android:backupAgent="com.android.launcher3.LauncherBackupAgentHelper"
Michael Jurka14c5a2c2012-06-28 13:45:33 -070058 android:hardwareAccelerated="true"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070059 android:icon="@mipmap/ic_launcher_home"
Sunny Goyal28c6b962015-10-12 11:42:05 -070060 android:label="@string/app_name"
Fabrice Di Meglio369dd0c2012-09-24 17:30:22 -070061 android:largeHeap="@bool/config_largeHeap"
Sunny Goyal0fc1be12014-08-11 17:05:23 -070062 android:restoreAnyVersion="true"
63 android:supportsRtl="true" >
64
The Android Open Source Project31dd5032009-03-03 19:32:27 -080065 <activity
Daniel Sandler325dc232013-06-05 22:57:57 -040066 android:name="com.android.launcher3.Launcher"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080067 android:launchMode="singleTask"
68 android:clearTaskOnLaunch="true"
69 android:stateNotNeeded="true"
Sunny Goyal5abb9f82016-02-09 15:22:42 -080070 android:theme="@style/LauncherTheme"
Adam Cohen446e9402011-09-15 18:21:21 -070071 android:windowSoftInputMode="adjustPan"
Adam Cohenc2d6e892014-10-16 09:49:24 -070072 android:screenOrientation="nosensor"
Sunny Goyald9bb1b42015-10-14 11:53:04 -070073 android:configChanges="keyboard|keyboardHidden|navigation"
Winson Chung761e8202015-06-01 12:38:30 -070074 android:resumeWhilePausing="true"
Adam Cohen1c524882015-06-23 18:06:37 -070075 android:taskAffinity=""
Adam Cohenc2d6e892014-10-16 09:49:24 -070076 android:enabled="true">
77 <intent-filter>
78 <action android:name="android.intent.action.MAIN" />
79 <category android:name="android.intent.category.HOME" />
80 <category android:name="android.intent.category.DEFAULT" />
81 <category android:name="android.intent.category.MONKEY"/>
82 </intent-filter>
83 </activity>
84
Adam Cohen39a06042013-07-19 14:30:12 -070085 <activity
Rahul Chaturvedi7fc77ca2015-05-19 18:02:16 -070086 android:name="com.android.launcher3.SettingsActivity"
87 android:label="@string/settings_button_text"
Sunny Goyal745bad92016-05-02 10:54:12 -070088 android:autoRemoveFromRecents="true">
89 <intent-filter>
90 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
91 <category android:name="android.intent.category.DEFAULT" />
92 </intent-filter>
Rahul Chaturvedi7fc77ca2015-05-19 18:02:16 -070093 </activity>
94
The Android Open Source Project31dd5032009-03-03 19:32:27 -080095 <!-- Intent received used to install shortcuts from other applications -->
96 <receiver
Daniel Sandler325dc232013-06-05 22:57:57 -040097 android:name="com.android.launcher3.InstallShortcutReceiver"
Sunny Goyal9b8da882014-09-05 04:40:13 -070098 android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
The Android Open Source Project31dd5032009-03-03 19:32:27 -080099 <intent-filter>
Sunny Goyal9b8da882014-09-05 04:40:13 -0700100 <action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800101 </intent-filter>
102 </receiver>
103
Sunny Goyal651077b2014-06-30 14:15:31 -0700104 <!-- Intent received used to initialize a restored widget -->
105 <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
106 <intent-filter>
107 <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
108 </intent-filter>
109 </receiver>
110
Tony Wickham827cef22016-03-17 15:39:39 -0700111 <service android:name=".dynamicui.ColorExtractionService"
112 android:exported="false"
113 android:process=":wallpaper_chooser">
114 </service>
115
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800116 <!-- The settings provider contains Home's data, like the workspace favorites -->
117 <provider
Daniel Sandler325dc232013-06-05 22:57:57 -0400118 android:name="com.android.launcher3.LauncherProvider"
119 android:authorities="com.android.launcher3.settings"
Nick Kralevichebe65592012-07-28 16:11:07 -0700120 android:exported="true"
Daniel Sandler325dc232013-06-05 22:57:57 -0400121 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
122 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800123
Martijn Coenenb34811d2012-04-19 09:38:20 -0700124 <meta-data android:name="android.nfc.disable_beam_default"
125 android:value="true" />
Sunny Goyal322d5562015-06-25 19:35:49 -0700126
127 <!-- ENABLE_FOR_TESTING
128
129 <activity
130 android:name="com.android.launcher3.testing.LauncherExtension"
131 android:launchMode="singleTask"
132 android:clearTaskOnLaunch="true"
133 android:stateNotNeeded="true"
134 android:theme="@style/Theme"
135 android:windowSoftInputMode="adjustPan"
136 android:screenOrientation="nosensor"
137 >
138 <intent-filter>
139 <action android:name="android.intent.action.MAIN" />
140 <category android:name="android.intent.category.HOME" />
141 <category android:name="android.intent.category.DEFAULT" />
142 <category android:name="android.intent.category.MONKEY"/>
143 </intent-filter>
144 </activity>
145
146 <activity
147 android:name="com.android.launcher3.testing.MemoryDumpActivity"
148 android:theme="@android:style/Theme.NoDisplay"
149 android:label="* HPROF"
150 android:excludeFromRecents="true"
151 android:icon="@mipmap/ic_launcher_home"
152 >
153 <intent-filter>
154 <action android:name="android.intent.action.MAIN" />
155 <category android:name="android.intent.category.DEFAULT" />
156 <category android:name="android.intent.category.LAUNCHER" />
157 </intent-filter>
158 </activity>
159
160 <activity
161 android:name="com.android.launcher3.testing.ToggleWeightWatcher"
162 android:label="Show Mem"
163 android:icon="@mipmap/ic_launcher_home">
164 <intent-filter>
165 <action android:name="android.intent.action.MAIN" />
166 <category android:name="android.intent.category.DEFAULT" />
167 <category android:name="android.intent.category.LAUNCHER" />
168 </intent-filter>
169 </activity>
170
171 <service android:name="com.android.launcher3.testing.MemoryTracker" />
172
173 -->
174
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800175 </application>
176</manifest>