blob: 237db744304c842ed66159ccd505837f745d43c7 [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
Bruno Martins84b8a8e2018-02-22 12:22:05 +00005 * Copyright 2017-2018, The LineageOS Project
Steve Kondik66dbbd52016-09-03 05:15:27 -07006 *
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 xmlns:android="http://schemas.android.com/apk/res/android"
21 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
Sam Mortimer32a2abb2017-09-18 21:40:24 -070022 package="org.lineageos.lineageparts"
Steve Kondik66dbbd52016-09-03 05:15:27 -070023 android:versionCode="1"
24 android:versionName="1.0"
25 android:sharedUserId="android.uid.system">
26
27 <uses-sdk android:minSdkVersion="24" android:targetSdkVersion="24" />
28
Steve Kondikeeeadb52016-09-07 02:21:07 -070029 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
30 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
31 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
32 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
33 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
34 <uses-permission android:name="android.permission.DEVICE_POWER" />
35 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
Steve Kondik03b56502016-09-10 17:17:25 -070036 <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" />
Steve Kondik362d0d62016-09-25 23:53:46 -070037 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Steve Kondik165ebdf2016-10-07 00:17:49 -070038 <uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" />
Steve Kondikeeeadb52016-09-07 02:21:07 -070039
Sam Mortimer32a2abb2017-09-18 21:40:24 -070040 <uses-permission android:name="lineageos.permission.MANAGE_REMOTE_PREFERENCES" />
Joey5eb68bd2018-02-22 16:52:47 +010041 <uses-permission android:name="lineageos.permission.CHANGE_STYLE" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070042
Rashed Abdel-Tawab3427dba2017-10-08 21:41:34 -040043 <protected-broadcast android:name="lineageos.intent.action.UPDATE_POWER_MENU" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -070044 <protected-broadcast android:name="lineageos.platform.app.profiles.PROFILES_STATE_CHANGED" />
45 <protected-broadcast android:name="org.lineageos.lineageparts.PART_CHANGED" />
46 <protected-broadcast android:name="org.lineageos.lineageparts.REFRESH_PART" />
47 <protected-broadcast android:name="org.lineageos.lineageparts.gestures.UPDATE_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -070048
Sam Mortimer32a2abb2017-09-18 21:40:24 -070049 <application android:label="@string/lineageparts_title"
Asher Simondsa9a48062018-02-14 16:38:10 +020050 android:icon="@mipmap/ic_launcher"
Steve Kondik66dbbd52016-09-03 05:15:27 -070051 android:theme="@style/Theme.Settings"
52 android:hardwareAccelerated="true"
53 android:supportsRtl="true"
54 android:defaultToDeviceProtectedStorage="true"
55 android:directBootAware="true">
56
LuK1337ceadf252017-06-01 12:42:54 +020057 <activity android:name=".PartsActivity"
58 android:configChanges="orientation|keyboardHidden|screenSize">
Steve Kondik7789bbb2016-09-09 03:14:20 -070059 <intent-filter>
Steve Kondik974a0ff2016-10-08 03:53:57 -070060 <action android:name="android.intent.action.MAIN" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070061 <category android:name="android.intent.category.DEFAULT" />
62 </intent-filter>
Steve Kondik69144e92016-10-15 01:02:13 -070063 <meta-data
Sam Mortimer32a2abb2017-09-18 21:40:24 -070064 android:name="org.lineageos.settings.summary.receiver"
65 android:value="org.lineageos.lineageparts.PartsUpdater" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070066 </activity>
67
Joey8d100d32018-04-07 14:12:34 +020068 <activity android:name=".trust.TrustOnBoardingActivity"
69 android:label="@string/trust_title"
70 android:theme="@style/OnBoardingStyle"
71 android:exported="true"
72 android:enabled="true">
73 <intent-filter android:priority="-4">
74 <action android:name="org.lineageos.lineageparts.TRUST_HINT" />
75 <category android:name="android.intent.category.DEFAULT" />
76 </intent-filter>
77 </activity>
78
Steve Kondik69144e92016-10-15 01:02:13 -070079 <receiver android:name=".BootReceiver" android:enabled="true">
Steve Kondik362d0d62016-09-25 23:53:46 -070080 <intent-filter android:priority="2147483647">
81 <action android:name="android.intent.action.BOOT_COMPLETED" />
82 </intent-filter>
83 </receiver>
Steve Kondik7789bbb2016-09-09 03:14:20 -070084
Steve Kondik69144e92016-10-15 01:02:13 -070085 <receiver android:name=".PartsUpdater" android:enabled="true">
Steve Kondikee8f6e82016-10-10 01:31:23 -070086 <intent-filter>
Sam Mortimer32a2abb2017-09-18 21:40:24 -070087 <action android:name="lineageos.intent.action.UPDATE_PREFERENCE" />
Steve Kondik69144e92016-10-15 01:02:13 -070088 <category android:name="android.intent.category.DEFAULT" />
Steve Kondikee8f6e82016-10-10 01:31:23 -070089 </intent-filter>
90 </receiver>
91
Sam Mortimer32a2abb2017-09-18 21:40:24 -070092 <provider android:name=".search.LineagePartsSearchIndexablesProvider"
93 android:authorities="org.lineageos.lineageparts"
Steve Kondik165ebdf2016-10-07 00:17:49 -070094 android:multiprocess="false"
95 android:grantUriPermissions="true"
96 android:permission="android.permission.READ_SEARCH_INDEXABLES"
97 android:exported="true">
98 <intent-filter>
99 <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
100 </intent-filter>
101 </provider>
102
Bruno Martinse0a02f42017-10-23 13:10:04 +0100103 <!-- LiveDisplay settings (Display category) -->
104 <activity-alias
105 android:name=".livedisplay.LiveDisplaySettings"
106 android:label="@*lineageos.platform:string/live_display_title"
107 android:targetActivity="PartsActivity">
108 <intent-filter android:priority="-2">
109 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
Michael Bestas59f95ff2018-01-31 20:33:46 +0200110 <action android:name="org.lineageos.lineageparts.LIVEDISPLAY_SETTINGS" />
Bruno Martinse0a02f42017-10-23 13:10:04 +0100111 <category android:name="android.intent.category.DEFAULT" />
112 </intent-filter>
113 <meta-data
114 android:name="com.android.settings.category"
115 android:value="com.android.settings.category.ia.display" />
116 <meta-data
117 android:name="com.android.settings.summary"
118 android:resource="@string/live_display_summary" />
119 </activity-alias>
120
Steve Kondik3281bd62016-09-09 23:55:11 -0700121 <!-- Privacy settings (dashboard) -->
Sam Mortimerf83ce0e2017-09-13 15:31:56 -0700122 <!--
Steve Kondikee833542016-09-20 00:44:09 -0700123 <activity-alias
Sam Mortimer4f343492016-10-09 16:02:11 -0700124 android:name=".PrivacySettings"
Steve Kondikee833542016-09-20 00:44:09 -0700125 android:label="@string/privacy_settings_title"
126 android:targetActivity="PartsActivity">
Danny Baumann03fb1412017-01-27 08:33:08 +0100127 <intent-filter android:priority="3">
Steve Kondik66dbbd52016-09-03 05:15:27 -0700128 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700129 <action android:name="org.lineageos.lineageparts.PRIVACY_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700130 <category android:name="android.intent.category.DEFAULT" />
Steve Kondik66dbbd52016-09-03 05:15:27 -0700131 </intent-filter>
132 <meta-data
133 android:name="com.android.settings.category"
134 android:value="com.android.settings.category.personal" />
135 <meta-data
136 android:name="com.android.settings.icon"
137 android:resource="@drawable/ic_settings_privacy" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700138 <meta-data
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700139 android:name="org.lineageos.settings.summary.receiver"
140 android:value="org.lineageos.lineageparts.PartsUpdater" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700141 <meta-data
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700142 android:name="org.lineageos.settings.summary.key"
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700143 android:value="privacy_settings" />
Steve Kondikee833542016-09-20 00:44:09 -0700144 </activity-alias>
Sam Mortimerf83ce0e2017-09-13 15:31:56 -0700145 -->
Steve Kondik66dbbd52016-09-03 05:15:27 -0700146
Simon Shields196aaa42017-11-24 16:38:47 +1100147 <!-- Button settings (System category) -->
Steve Kondik3281bd62016-09-09 23:55:11 -0700148 <activity-alias
149 android:name=".input.ButtonSettings"
150 android:label="@string/button_pref_title"
Simon Shields196aaa42017-11-24 16:38:47 +1100151 android:icon="@drawable/ic_settings_buttons"
Steve Kondik3281bd62016-09-09 23:55:11 -0700152 android:targetActivity="PartsActivity">
Simon Shields196aaa42017-11-24 16:38:47 +1100153 <intent-filter android:priority="256">
154 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700155 <action android:name="org.lineageos.lineageparts.BUTTON_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700156 <category android:name="android.intent.category.DEFAULT" />
157 </intent-filter>
158 <meta-data
159 android:name="com.android.settings.category"
Simon Shields196aaa42017-11-24 16:38:47 +1100160 android:value="com.android.settings.category.ia.system" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700161 <meta-data
Simon Shields196aaa42017-11-24 16:38:47 +1100162 android:name="com.android.settings.summary"
163 android:value="@string/summary_empty" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700164 </activity-alias>
165
Zhao Wei Liew2ccca732017-01-21 00:51:22 +0800166 <activity android:name=".gestures.KeyHandler" />
167
Ethan Chend629eb42017-10-05 00:50:26 -0700168 <!-- Profiles settings (System category) -->
Steve Kondik03b56502016-09-10 17:17:25 -0700169 <activity-alias
170 android:name=".profiles.ProfilesSettings"
171 android:label="@string/profiles_settings_title"
Ethan Chend629eb42017-10-05 00:50:26 -0700172 android:icon="@drawable/ic_settings_profiles"
Steve Kondik03b56502016-09-10 17:17:25 -0700173 android:targetActivity="PartsActivity">
Ethan Chend629eb42017-10-05 00:50:26 -0700174 <intent-filter android:priority="255">
175 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700176 <action android:name="org.lineageos.lineageparts.PROFILES_SETTINGS" />
Steve Kondik03b56502016-09-10 17:17:25 -0700177 <category android:name="android.intent.category.DEFAULT" />
178 </intent-filter>
179 <meta-data
180 android:name="com.android.settings.category"
Ethan Chend629eb42017-10-05 00:50:26 -0700181 android:value="com.android.settings.category.ia.system" />
Steve Kondik03b56502016-09-10 17:17:25 -0700182 <meta-data
Ethan Chend629eb42017-10-05 00:50:26 -0700183 android:name="com.android.settings.summary"
184 android:resource="@string/summary_empty" />
Steve Kondik03b56502016-09-10 17:17:25 -0700185 </activity-alias>
186
Bruno Martins5c824992017-10-18 19:39:45 +0100187 <!-- Status bar settings (System category) -->
Steve Kondik50c9fe62016-09-14 01:36:48 -0700188 <activity-alias
189 android:name=".statusbar.StatusBarSettings"
190 android:label="@string/status_bar_title"
Bruno Martins5c824992017-10-18 19:39:45 +0100191 android:icon="@drawable/ic_settings_statusbar"
Steve Kondik50c9fe62016-09-14 01:36:48 -0700192 android:targetActivity="PartsActivity">
Bruno Martins5c824992017-10-18 19:39:45 +0100193 <intent-filter android:priority="254">
194 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700195 <action android:name="org.lineageos.lineageparts.STATUS_BAR_SETTINGS" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700196 <category android:name="android.intent.category.DEFAULT" />
197 </intent-filter>
198 <meta-data
199 android:name="com.android.settings.category"
Bruno Martins5c824992017-10-18 19:39:45 +0100200 android:value="com.android.settings.category.ia.system" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700201 <meta-data
Bruno Martins5c824992017-10-18 19:39:45 +0100202 android:name="com.android.settings.summary"
203 android:resource="@string/summary_empty" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700204 </activity-alias>
205
Joey90af02f2018-01-20 13:54:57 +0100206 <!-- Style settings (Display category) -->
207 <activity-alias
208 android:name=".style.StylePreferences"
209 android:label="@string/style_title"
210 android:targetActivity="PartsActivity">
211 <intent-filter android:priority="-3">
212 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
213 <action android:name="org.lineageos.lineageparts.STYLE_SETTINGS" />
214 <category android:name="android.intent.category.DEFAULT" />
215 </intent-filter>
216 <meta-data
217 android:name="com.android.settings.category"
218 android:value="com.android.settings.category.ia.display" />
219 <meta-data
220 android:name="com.android.settings.summary"
221 android:resource="@string/style_summary" />
222 </activity-alias>
223
Joey8d100d32018-04-07 14:12:34 +0200224 <!-- Trust interface (Security category) -->
225 <activity-alias
226 android:name=".trust.TrustPreferences"
227 android:label="@string/trust_title"
228 android:targetActivity="PartsActivity">
229 <intent-filter android:priority="-4">
230 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
231 <action android:name="org.lineageos.lineageparts.TRUST_INTERFACE" />
232 <category android:name="android.intent.category.DEFAULT" />
233 </intent-filter>
234 </activity-alias>
235
Bruno Martins082ad672018-02-22 10:03:02 +0000236 <!-- Expanded Desktop settings (Display category) -->
237 <activity-alias
238 android:name=".applications.ExpandedDesktopSettings"
239 android:label="@string/expanded_desktop_settings_title"
240 android:targetActivity="PartsActivity">
241 <intent-filter android:priority="-9">
242 <action android:name="org.lineageos.lineageparts.action.SETTINGS" />
243 <action android:name="org.lineageos.lineageparts.EXPANDED_DESKTOP_SETTINGS" />
244 <category android:name="android.intent.category.DEFAULT" />
245 </intent-filter>
246 <meta-data
247 android:name="com.android.settings.category"
248 android:value="com.android.settings.category.ia.display" />
249 <meta-data
250 android:name="com.android.settings.summary"
251 android:resource="@string/expanded_desktop_settings_summary" />
252 </activity-alias>
253
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700254 <!-- Anonymous Statistics -->
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700255 <receiver android:name=".lineagestats.ReportingServiceManager"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700256 android:enabled="true"
257 android:exported="false"
258 android:label="ReportingServiceManager">
259 <intent-filter>
260 <action android:name="android.intent.action.BOOT_COMPLETED" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700261 <action android:name="org.lineageos.lineageparts.action.TRIGGER_REPORT_METRICS" />
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700262 </intent-filter>
263 </receiver>
264
265 <service android:label="ReportingService"
266 android:enabled="true"
267 android:exported="false"
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700268 android:name=".lineagestats.ReportingService">
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700269 </service>
270
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700271 <service android:name=".lineagestats.StatsUploadJobService"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700272 android:permission="android.permission.BIND_JOB_SERVICE" />
273
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700274 <service android:name=".lineagestats.ReportingService"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700275 android:label="ReportingService"
276 android:enabled="true"
277 android:exported="false" />
278
Michael Bestase4abd6f2017-12-28 01:03:31 +0200279 <!-- Weather settings -->
Steve Kondik3b9691d2016-10-08 21:42:35 -0700280 <activity-alias
281 android:name=".weather.WeatherServiceSettings"
282 android:label="@string/weather_settings_title"
283 android:targetActivity="PartsActivity">
284 <intent-filter android:priority="1">
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700285 <action android:name="lineageos.intent.action.MANAGE_WEATHER_PROVIDER_SERVICES" />
Steve Kondik3b9691d2016-10-08 21:42:35 -0700286 <category android:name="android.intent.category.DEFAULT" />
287 </intent-filter>
288 </activity-alias>
289
Maxim Becker4677ce62017-02-09 14:07:50 +0100290 <activity android:name=".profiles.NFCProfile">
291 <intent-filter>
292 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
293 <category android:name="android.intent.category.DEFAULT"/>
Bruno Martins84b8a8e2018-02-22 12:22:05 +0000294 <data android:mimeType="lineage/profile" />
Maxim Becker4677ce62017-02-09 14:07:50 +0100295 </intent-filter>
296 </activity>
297
298 <activity
299 android:name=".profiles.NFCProfileSelect"
300 android:label="@string/profile_select"
301 android:excludeFromRecents="true"/>
302
Michael Bestas03645f22014-11-13 21:22:46 +0200303 <activity android:name=".logo.PlatLogoActivity"
304 android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen"
305 android:configChanges="orientation|keyboardHidden">
306 <intent-filter>
307 <action android:name="android.intent.action.MAIN" />
308 <category android:name="android.intent.category.DEFAULT" />
309 </intent-filter>
310 </activity>
311
meganukebmp9a6ac452017-12-29 19:45:22 +0200312 <activity android:name=".egg.octo.Ocquarium"
313 android:theme="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen"
314 android:label="@string/egg_title">
315 <intent-filter>
316 <action android:name="org.lineageos.lineageparts.EASTER_EGG"/>
317 <category android:name="android.intent.category.DEFAULT" />
318 <category android:name="com.android.internal.category.PLATLOGO" />
319 </intent-filter>
320 </activity>
321
Steve Kondik66dbbd52016-09-03 05:15:27 -0700322 </application>
323</manifest>