blob: 418b3a373a2d533a409095ed0789325b693c5c7a [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 Goyald297be22016-05-10 15:35:02 -070023 <uses-sdk android:targetSdkVersion="23" android:minSdkVersion="21"/>
Sunny Goyald83a67a2016-05-23 21:40:53 -070024 <!--
25 Manifest entries specific to Launcher3. This is merged with AndroidManifest-common.xml.
26 Refer comments around specific entries on how to extend individual components.
27 -->
Jeff Hamilton95db7372010-02-11 16:25:50 -060028
Sunny Goyald83a67a2016-05-23 21:40:53 -070029 <!--
30 Permissions required for read/write access to the workspace data. These permission name
31 should not conflict with that defined in other apps, as such an app should embed its package
32 name in the permissions. eq com.mypackage.permission.READ_SETTINGS
33 -->
The Android Open Source Project31dd5032009-03-03 19:32:27 -080034 <permission
Daniel Sandler325dc232013-06-05 22:57:57 -040035 android:name="com.android.launcher3.permission.READ_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080036 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
Daniel Sandler325dc232013-06-05 22:57:57 -040041 android:name="com.android.launcher3.permission.WRITE_SETTINGS"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080042 android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
Winson Chungc66109c2014-02-26 11:50:46 -080043 android:protectionLevel="signatureOrSystem"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080044 android:label="@string/permlab_write_settings"
45 android:description="@string/permdesc_write_settings"/>
Daniel Sandlerff02d492013-08-05 02:12:05 -040046
Adam Cohene25af792013-06-06 23:08:25 -070047 <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
48 <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
Daniel Sandler325dc232013-06-05 22:57:57 -040049 <uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
50 <uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
Adam Cohen76fc0852011-06-17 13:26:23 -070051
Sunny Goyale0e0e1d2016-06-07 13:53:20 -070052 <application
53 android:backupAgent="com.android.launcher3.LauncherBackupAgent"
54 android:fullBackupOnly="true"
55 android:fullBackupContent="@xml/backupscheme"
56 android:hardwareAccelerated="true"
57 android:icon="@mipmap/ic_launcher_home"
Sunny Goyal4a4b49f2016-08-25 22:21:40 -070058 android:label="@string/derived_app_name"
Sunny Goyal1f3f07d2017-02-10 16:52:16 -080059 android:theme="@style/LauncherTheme"
Sunny Goyale0e0e1d2016-06-07 13:53:20 -070060 android:largeHeap="@bool/config_largeHeap"
61 android:restoreAnyVersion="true"
62 android:supportsRtl="true" >
Sunny Goyal0fc1be12014-08-11 17:05:23 -070063
Sunny Goyald83a67a2016-05-23 21:40:53 -070064 <!--
65 Main launcher activity. When extending only change the name, and keep all the
66 attributes and intent filters the same
67 -->
The Android Open Source Project31dd5032009-03-03 19:32:27 -080068 <activity
Daniel Sandler325dc232013-06-05 22:57:57 -040069 android:name="com.android.launcher3.Launcher"
The Android Open Source Project31dd5032009-03-03 19:32:27 -080070 android:launchMode="singleTask"
71 android:clearTaskOnLaunch="true"
72 android:stateNotNeeded="true"
Adam Cohen446e9402011-09-15 18:21:21 -070073 android:windowSoftInputMode="adjustPan"
Adam Cohenc2d6e892014-10-16 09:49:24 -070074 android:screenOrientation="nosensor"
Sunny Goyald9bb1b42015-10-14 11:53:04 -070075 android:configChanges="keyboard|keyboardHidden|navigation"
Winson Chung761e8202015-06-01 12:38:30 -070076 android:resumeWhilePausing="true"
Adam Cohen1c524882015-06-23 18:06:37 -070077 android:taskAffinity=""
Adam Cohenc2d6e892014-10-16 09:49:24 -070078 android:enabled="true">
79 <intent-filter>
80 <action android:name="android.intent.action.MAIN" />
81 <category android:name="android.intent.category.HOME" />
82 <category android:name="android.intent.category.DEFAULT" />
83 <category android:name="android.intent.category.MONKEY"/>
84 </intent-filter>
85 </activity>
86
Sunny Goyald83a67a2016-05-23 21:40:53 -070087 <!--
88 The settings activity. When extending keep the intent filter present
89 -->
Adam Cohen39a06042013-07-19 14:30:12 -070090 <activity
Rahul Chaturvedi7fc77ca2015-05-19 18:02:16 -070091 android:name="com.android.launcher3.SettingsActivity"
92 android:label="@string/settings_button_text"
Sunny Goyal1f3f07d2017-02-10 16:52:16 -080093 android:theme="@android:style/Theme.DeviceDefault.Settings"
Sunny Goyal745bad92016-05-02 10:54:12 -070094 android:autoRemoveFromRecents="true">
95 <intent-filter>
96 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
97 <category android:name="android.intent.category.DEFAULT" />
98 </intent-filter>
Rahul Chaturvedi7fc77ca2015-05-19 18:02:16 -070099 </activity>
100
Sunny Goyald83a67a2016-05-23 21:40:53 -0700101 <!--
102 The settings provider contains Home's data, like the workspace favorites. The permissions
103 should be changed to what is defined above. The authorities should also be changed to
104 represent the package name.
105 -->
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800106 <provider
Daniel Sandler325dc232013-06-05 22:57:57 -0400107 android:name="com.android.launcher3.LauncherProvider"
108 android:authorities="com.android.launcher3.settings"
Nick Kralevichebe65592012-07-28 16:11:07 -0700109 android:exported="true"
Daniel Sandler325dc232013-06-05 22:57:57 -0400110 android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
111 android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800112
Sunny Goyal322d5562015-06-25 19:35:49 -0700113 <!-- ENABLE_FOR_TESTING
114
115 <activity
116 android:name="com.android.launcher3.testing.LauncherExtension"
117 android:launchMode="singleTask"
118 android:clearTaskOnLaunch="true"
119 android:stateNotNeeded="true"
120 android:theme="@style/Theme"
121 android:windowSoftInputMode="adjustPan"
122 android:screenOrientation="nosensor"
123 >
124 <intent-filter>
125 <action android:name="android.intent.action.MAIN" />
126 <category android:name="android.intent.category.HOME" />
127 <category android:name="android.intent.category.DEFAULT" />
128 <category android:name="android.intent.category.MONKEY"/>
129 </intent-filter>
130 </activity>
131
132 <activity
133 android:name="com.android.launcher3.testing.MemoryDumpActivity"
134 android:theme="@android:style/Theme.NoDisplay"
135 android:label="* HPROF"
136 android:excludeFromRecents="true"
137 android:icon="@mipmap/ic_launcher_home"
138 >
139 <intent-filter>
140 <action android:name="android.intent.action.MAIN" />
141 <category android:name="android.intent.category.DEFAULT" />
142 <category android:name="android.intent.category.LAUNCHER" />
143 </intent-filter>
144 </activity>
145
146 <activity
147 android:name="com.android.launcher3.testing.ToggleWeightWatcher"
148 android:label="Show Mem"
149 android:icon="@mipmap/ic_launcher_home">
150 <intent-filter>
151 <action android:name="android.intent.action.MAIN" />
152 <category android:name="android.intent.category.DEFAULT" />
153 <category android:name="android.intent.category.LAUNCHER" />
154 </intent-filter>
155 </activity>
156
157 <service android:name="com.android.launcher3.testing.MemoryTracker" />
158
159 -->
160
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800161 </application>
162</manifest>