blob: e74e9eb8525add1e31d3fcc5d6180305947f282c [file] [log] [blame]
Steve Kondik66dbbd52016-09-03 05:15:27 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/**
4 * Copyright 2016, The CyanogenMod Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
20 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
Sam Mortimer32a2abb2017-09-18 21:40:24 -070021 package="org.lineageos.lineageparts"
Steve Kondik66dbbd52016-09-03 05:15:27 -070022 android:versionCode="1"
23 android:versionName="1.0"
24 android:sharedUserId="android.uid.system">
25
26 <uses-sdk android:minSdkVersion="24" android:targetSdkVersion="24" />
27
Steve Kondikeeeadb52016-09-07 02:21:07 -070028 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
29 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
30 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
31 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
32 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
33 <uses-permission android:name="android.permission.DEVICE_POWER" />
34 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
Steve Kondik03b56502016-09-10 17:17:25 -070035 <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" />
Steve Kondik362d0d62016-09-25 23:53:46 -070036 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Steve Kondik165ebdf2016-10-07 00:17:49 -070037 <uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" />
Steve Kondikeeeadb52016-09-07 02:21:07 -070038
Sam Mortimer32a2abb2017-09-18 21:40:24 -070039 <uses-permission android:name="lineageos.permission.MANAGE_REMOTE_PREFERENCES" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070040
Rashed Abdel-Tawab3427dba2017-10-08 21:41:34 -040041 <protected-broadcast android:name="lineageos.intent.action.UPDATE_POWER_MENU" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -070042 <protected-broadcast android:name="lineageos.platform.app.profiles.PROFILES_STATE_CHANGED" />
43 <protected-broadcast android:name="org.lineageos.lineageparts.PART_CHANGED" />
44 <protected-broadcast android:name="org.lineageos.lineageparts.REFRESH_PART" />
45 <protected-broadcast android:name="org.lineageos.lineageparts.gestures.UPDATE_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -070046
Sam Mortimer32a2abb2017-09-18 21:40:24 -070047 <application android:label="@string/lineageparts_title"
Asher Simondsa9a48062018-02-14 16:38:10 +020048 android:icon="@mipmap/ic_launcher"
Steve Kondik66dbbd52016-09-03 05:15:27 -070049 android:theme="@style/Theme.Settings"
50 android:hardwareAccelerated="true"
51 android:supportsRtl="true"
52 android:defaultToDeviceProtectedStorage="true"
53 android:directBootAware="true">
54
LuK1337ceadf252017-06-01 12:42:54 +020055 <activity android:name=".PartsActivity"
56 android:configChanges="orientation|keyboardHidden|screenSize">
Steve Kondik7789bbb2016-09-09 03:14:20 -070057 <intent-filter>
Steve Kondik974a0ff2016-10-08 03:53:57 -070058 <action android:name="android.intent.action.MAIN" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070059 <category android:name="android.intent.category.DEFAULT" />
60 </intent-filter>
Steve Kondik69144e92016-10-15 01:02:13 -070061 <meta-data
Sam Mortimer32a2abb2017-09-18 21:40:24 -070062 android:name="org.lineageos.settings.summary.receiver"
63 android:value="org.lineageos.lineageparts.PartsUpdater" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070064 </activity>
65
Steve Kondik69144e92016-10-15 01:02:13 -070066 <receiver android:name=".BootReceiver" android:enabled="true">
Steve Kondik362d0d62016-09-25 23:53:46 -070067 <intent-filter android:priority="2147483647">
68 <action android:name="android.intent.action.BOOT_COMPLETED" />
69 </intent-filter>
70 </receiver>
Steve Kondik7789bbb2016-09-09 03:14:20 -070071
Steve Kondik69144e92016-10-15 01:02:13 -070072 <receiver android:name=".PartsUpdater" android:enabled="true">
Steve Kondikee8f6e82016-10-10 01:31:23 -070073 <intent-filter>
Sam Mortimer32a2abb2017-09-18 21:40:24 -070074 <action android:name="lineageos.intent.action.UPDATE_PREFERENCE" />
Steve Kondik69144e92016-10-15 01:02:13 -070075 <category android:name="android.intent.category.DEFAULT" />
Steve Kondikee8f6e82016-10-10 01:31:23 -070076 </intent-filter>
77 </receiver>
78
Sam Mortimer32a2abb2017-09-18 21:40:24 -070079 <provider android:name=".search.LineagePartsSearchIndexablesProvider"
80 android:authorities="org.lineageos.lineageparts"
Steve Kondik165ebdf2016-10-07 00:17:49 -070081 android:multiprocess="false"
82 android:grantUriPermissions="true"
83 android:permission="android.permission.READ_SEARCH_INDEXABLES"
84 android:exported="true">
85 <intent-filter>
86 <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
87 </intent-filter>
88 </provider>
89
Bruno Martinse0a02f42017-10-23 13:10:04 +010090 <!-- LiveDisplay settings (Display category) -->
91 <activity-alias
92 android:name=".livedisplay.LiveDisplaySettings"
93 android:label="@*lineageos.platform:string/live_display_title"
94 android:targetActivity="PartsActivity">
95 <intent-filter android:priority="-2">
96 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
Michael Bestas59f95ff2018-01-31 20:33:46 +020097 <action android:name="org.lineageos.lineageparts.LIVEDISPLAY_SETTINGS" />
Bruno Martinse0a02f42017-10-23 13:10:04 +010098 <category android:name="android.intent.category.DEFAULT" />
99 </intent-filter>
100 <meta-data
101 android:name="com.android.settings.category"
102 android:value="com.android.settings.category.ia.display" />
103 <meta-data
104 android:name="com.android.settings.summary"
105 android:resource="@string/live_display_summary" />
106 </activity-alias>
107
Steve Kondik3281bd62016-09-09 23:55:11 -0700108 <!-- Privacy settings (dashboard) -->
Sam Mortimerf83ce0e2017-09-13 15:31:56 -0700109 <!--
Steve Kondikee833542016-09-20 00:44:09 -0700110 <activity-alias
Sam Mortimer4f343492016-10-09 16:02:11 -0700111 android:name=".PrivacySettings"
Steve Kondikee833542016-09-20 00:44:09 -0700112 android:label="@string/privacy_settings_title"
113 android:targetActivity="PartsActivity">
Danny Baumann03fb1412017-01-27 08:33:08 +0100114 <intent-filter android:priority="3">
Steve Kondik66dbbd52016-09-03 05:15:27 -0700115 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700116 <action android:name="org.lineageos.lineageparts.PRIVACY_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700117 <category android:name="android.intent.category.DEFAULT" />
Steve Kondik66dbbd52016-09-03 05:15:27 -0700118 </intent-filter>
119 <meta-data
120 android:name="com.android.settings.category"
121 android:value="com.android.settings.category.personal" />
122 <meta-data
123 android:name="com.android.settings.icon"
124 android:resource="@drawable/ic_settings_privacy" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700125 <meta-data
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700126 android:name="org.lineageos.settings.summary.receiver"
127 android:value="org.lineageos.lineageparts.PartsUpdater" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700128 <meta-data
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700129 android:name="org.lineageos.settings.summary.key"
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700130 android:value="privacy_settings" />
Steve Kondikee833542016-09-20 00:44:09 -0700131 </activity-alias>
Sam Mortimerf83ce0e2017-09-13 15:31:56 -0700132 -->
Steve Kondik66dbbd52016-09-03 05:15:27 -0700133
Simon Shields196aaa42017-11-24 16:38:47 +1100134 <!-- Button settings (System category) -->
Steve Kondik3281bd62016-09-09 23:55:11 -0700135 <activity-alias
136 android:name=".input.ButtonSettings"
137 android:label="@string/button_pref_title"
Simon Shields196aaa42017-11-24 16:38:47 +1100138 android:icon="@drawable/ic_settings_buttons"
Steve Kondik3281bd62016-09-09 23:55:11 -0700139 android:targetActivity="PartsActivity">
Simon Shields196aaa42017-11-24 16:38:47 +1100140 <intent-filter android:priority="256">
141 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700142 <action android:name="org.lineageos.lineageparts.BUTTON_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700143 <category android:name="android.intent.category.DEFAULT" />
144 </intent-filter>
145 <meta-data
146 android:name="com.android.settings.category"
Simon Shields196aaa42017-11-24 16:38:47 +1100147 android:value="com.android.settings.category.ia.system" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700148 <meta-data
Simon Shields196aaa42017-11-24 16:38:47 +1100149 android:name="com.android.settings.summary"
150 android:value="@string/summary_empty" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700151 </activity-alias>
152
Zhao Wei Liew2ccca732017-01-21 00:51:22 +0800153 <activity android:name=".gestures.KeyHandler" />
154
Ethan Chend629eb42017-10-05 00:50:26 -0700155 <!-- Profiles settings (System category) -->
Steve Kondik03b56502016-09-10 17:17:25 -0700156 <activity-alias
157 android:name=".profiles.ProfilesSettings"
158 android:label="@string/profiles_settings_title"
Ethan Chend629eb42017-10-05 00:50:26 -0700159 android:icon="@drawable/ic_settings_profiles"
Steve Kondik03b56502016-09-10 17:17:25 -0700160 android:targetActivity="PartsActivity">
Ethan Chend629eb42017-10-05 00:50:26 -0700161 <intent-filter android:priority="255">
162 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700163 <action android:name="org.lineageos.lineageparts.PROFILES_SETTINGS" />
Steve Kondik03b56502016-09-10 17:17:25 -0700164 <category android:name="android.intent.category.DEFAULT" />
165 </intent-filter>
166 <meta-data
167 android:name="com.android.settings.category"
Ethan Chend629eb42017-10-05 00:50:26 -0700168 android:value="com.android.settings.category.ia.system" />
Steve Kondik03b56502016-09-10 17:17:25 -0700169 <meta-data
Ethan Chend629eb42017-10-05 00:50:26 -0700170 android:name="com.android.settings.summary"
171 android:resource="@string/summary_empty" />
Steve Kondik03b56502016-09-10 17:17:25 -0700172 </activity-alias>
173
Bruno Martins5c824992017-10-18 19:39:45 +0100174 <!-- Status bar settings (System category) -->
Steve Kondik50c9fe62016-09-14 01:36:48 -0700175 <activity-alias
176 android:name=".statusbar.StatusBarSettings"
177 android:label="@string/status_bar_title"
Bruno Martins5c824992017-10-18 19:39:45 +0100178 android:icon="@drawable/ic_settings_statusbar"
Steve Kondik50c9fe62016-09-14 01:36:48 -0700179 android:targetActivity="PartsActivity">
Bruno Martins5c824992017-10-18 19:39:45 +0100180 <intent-filter android:priority="254">
181 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700182 <action android:name="org.lineageos.lineageparts.STATUS_BAR_SETTINGS" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700183 <category android:name="android.intent.category.DEFAULT" />
184 </intent-filter>
185 <meta-data
186 android:name="com.android.settings.category"
Bruno Martins5c824992017-10-18 19:39:45 +0100187 android:value="com.android.settings.category.ia.system" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700188 <meta-data
Bruno Martins5c824992017-10-18 19:39:45 +0100189 android:name="com.android.settings.summary"
190 android:resource="@string/summary_empty" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700191 </activity-alias>
192
Joey90af02f2018-01-20 13:54:57 +0100193 <!-- Style settings (Display category) -->
194 <activity-alias
195 android:name=".style.StylePreferences"
196 android:label="@string/style_title"
197 android:targetActivity="PartsActivity">
198 <intent-filter android:priority="-3">
199 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
200 <action android:name="org.lineageos.lineageparts.STYLE_SETTINGS" />
201 <category android:name="android.intent.category.DEFAULT" />
202 </intent-filter>
203 <meta-data
204 android:name="com.android.settings.category"
205 android:value="com.android.settings.category.ia.display" />
206 <meta-data
207 android:name="com.android.settings.summary"
208 android:resource="@string/style_summary" />
209 </activity-alias>
210
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700211 <!-- Anonymous Statistics -->
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700212 <receiver android:name=".lineagestats.ReportingServiceManager"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700213 android:enabled="true"
214 android:exported="false"
215 android:label="ReportingServiceManager">
216 <intent-filter>
217 <action android:name="android.intent.action.BOOT_COMPLETED" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700218 <action android:name="org.lineageos.lineageparts.action.TRIGGER_REPORT_METRICS" />
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700219 </intent-filter>
220 </receiver>
221
222 <service android:label="ReportingService"
223 android:enabled="true"
224 android:exported="false"
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700225 android:name=".lineagestats.ReportingService">
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700226 </service>
227
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700228 <service android:name=".lineagestats.StatsUploadJobService"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700229 android:permission="android.permission.BIND_JOB_SERVICE" />
230
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700231 <service android:name=".lineagestats.ReportingService"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700232 android:label="ReportingService"
233 android:enabled="true"
234 android:exported="false" />
235
Michael Bestase4abd6f2017-12-28 01:03:31 +0200236 <!-- Weather settings -->
Steve Kondik3b9691d2016-10-08 21:42:35 -0700237 <activity-alias
238 android:name=".weather.WeatherServiceSettings"
239 android:label="@string/weather_settings_title"
240 android:targetActivity="PartsActivity">
241 <intent-filter android:priority="1">
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700242 <action android:name="lineageos.intent.action.MANAGE_WEATHER_PROVIDER_SERVICES" />
Steve Kondik3b9691d2016-10-08 21:42:35 -0700243 <category android:name="android.intent.category.DEFAULT" />
244 </intent-filter>
245 </activity-alias>
246
Maxim Becker4677ce62017-02-09 14:07:50 +0100247 <activity android:name=".profiles.NFCProfile">
248 <intent-filter>
249 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
250 <category android:name="android.intent.category.DEFAULT"/>
251 <data android:mimeType="cm/profile" />
252 </intent-filter>
253 </activity>
254
255 <activity
256 android:name=".profiles.NFCProfileSelect"
257 android:label="@string/profile_select"
258 android:excludeFromRecents="true"/>
259
Michael Bestas03645f22014-11-13 21:22:46 +0200260 <activity android:name=".logo.PlatLogoActivity"
261 android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen"
262 android:configChanges="orientation|keyboardHidden">
263 <intent-filter>
264 <action android:name="android.intent.action.MAIN" />
265 <category android:name="android.intent.category.DEFAULT" />
266 </intent-filter>
267 </activity>
268
meganukebmp9a6ac452017-12-29 19:45:22 +0200269 <activity android:name=".egg.octo.Ocquarium"
270 android:theme="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen"
271 android:label="@string/egg_title">
272 <intent-filter>
273 <action android:name="org.lineageos.lineageparts.EASTER_EGG"/>
274 <category android:name="android.intent.category.DEFAULT" />
275 <category android:name="com.android.internal.category.PLATLOGO" />
276 </intent-filter>
277 </activity>
278
Steve Kondik66dbbd52016-09-03 05:15:27 -0700279 </application>
280</manifest>