Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 1 | <?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 Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 21 | package="org.lineageos.lineageparts" |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 22 | 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 Kondik | eeeadb5 | 2016-09-07 02:21:07 -0700 | [diff] [blame] | 28 | <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 Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" /> |
Steve Kondik | 362d0d6 | 2016-09-25 23:53:46 -0700 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Steve Kondik | 165ebdf | 2016-10-07 00:17:49 -0700 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" /> |
Steve Kondik | eeeadb5 | 2016-09-07 02:21:07 -0700 | [diff] [blame] | 38 | |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 39 | <uses-permission android:name="lineageos.permission.MANAGE_REMOTE_PREFERENCES" /> |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 40 | |
Luca Stefani | ebd042e | 2017-01-03 21:17:16 +0100 | [diff] [blame] | 41 | <protected-broadcast android:name="android.intent.action.UPDATE_POWER_MENU" /> |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 42 | <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 Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 46 | |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 47 | <application android:label="@string/lineageparts_title" |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 48 | android:theme="@style/Theme.Settings" |
| 49 | android:hardwareAccelerated="true" |
| 50 | android:supportsRtl="true" |
| 51 | android:defaultToDeviceProtectedStorage="true" |
| 52 | android:directBootAware="true"> |
| 53 | |
LuK1337 | ceadf25 | 2017-06-01 12:42:54 +0200 | [diff] [blame] | 54 | <activity android:name=".PartsActivity" |
| 55 | android:configChanges="orientation|keyboardHidden|screenSize"> |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 56 | <intent-filter> |
Steve Kondik | 974a0ff | 2016-10-08 03:53:57 -0700 | [diff] [blame] | 57 | <action android:name="android.intent.action.MAIN" /> |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 58 | <category android:name="android.intent.category.DEFAULT" /> |
| 59 | </intent-filter> |
Steve Kondik | 69144e9 | 2016-10-15 01:02:13 -0700 | [diff] [blame] | 60 | <meta-data |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 61 | android:name="org.lineageos.settings.summary.receiver" |
| 62 | android:value="org.lineageos.lineageparts.PartsUpdater" /> |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 63 | </activity> |
| 64 | |
Steve Kondik | 69144e9 | 2016-10-15 01:02:13 -0700 | [diff] [blame] | 65 | <receiver android:name=".BootReceiver" android:enabled="true"> |
Steve Kondik | 362d0d6 | 2016-09-25 23:53:46 -0700 | [diff] [blame] | 66 | <intent-filter android:priority="2147483647"> |
| 67 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 68 | </intent-filter> |
| 69 | </receiver> |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 70 | |
Steve Kondik | 69144e9 | 2016-10-15 01:02:13 -0700 | [diff] [blame] | 71 | <receiver android:name=".PartsUpdater" android:enabled="true"> |
Steve Kondik | ee8f6e8 | 2016-10-10 01:31:23 -0700 | [diff] [blame] | 72 | <intent-filter> |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 73 | <action android:name="lineageos.intent.action.UPDATE_PREFERENCE" /> |
Steve Kondik | 69144e9 | 2016-10-15 01:02:13 -0700 | [diff] [blame] | 74 | <category android:name="android.intent.category.DEFAULT" /> |
Steve Kondik | ee8f6e8 | 2016-10-10 01:31:23 -0700 | [diff] [blame] | 75 | </intent-filter> |
| 76 | </receiver> |
| 77 | |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 78 | <provider android:name=".search.LineagePartsSearchIndexablesProvider" |
| 79 | android:authorities="org.lineageos.lineageparts" |
Steve Kondik | 165ebdf | 2016-10-07 00:17:49 -0700 | [diff] [blame] | 80 | android:multiprocess="false" |
| 81 | android:grantUriPermissions="true" |
| 82 | android:permission="android.permission.READ_SEARCH_INDEXABLES" |
| 83 | android:exported="true"> |
| 84 | <intent-filter> |
| 85 | <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" /> |
| 86 | </intent-filter> |
| 87 | </provider> |
| 88 | |
Bruno Martins | e0a02f4 | 2017-10-23 13:10:04 +0100 | [diff] [blame] | 89 | <!-- LiveDisplay settings (Display category) --> |
| 90 | <activity-alias |
| 91 | android:name=".livedisplay.LiveDisplaySettings" |
| 92 | android:label="@*lineageos.platform:string/live_display_title" |
| 93 | android:targetActivity="PartsActivity"> |
| 94 | <intent-filter android:priority="-2"> |
| 95 | <action android:name="org.lineageos.lineageparts.action.SETTINGS" /> |
| 96 | <category android:name="android.intent.category.DEFAULT" /> |
| 97 | </intent-filter> |
| 98 | <meta-data |
| 99 | android:name="com.android.settings.category" |
| 100 | android:value="com.android.settings.category.ia.display" /> |
| 101 | <meta-data |
| 102 | android:name="com.android.settings.summary" |
| 103 | android:resource="@string/live_display_summary" /> |
| 104 | </activity-alias> |
| 105 | |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 106 | <!-- Privacy settings (dashboard) --> |
Sam Mortimer | f83ce0e | 2017-09-13 15:31:56 -0700 | [diff] [blame] | 107 | <!-- |
Steve Kondik | ee83354 | 2016-09-20 00:44:09 -0700 | [diff] [blame] | 108 | <activity-alias |
Sam Mortimer | 4f34349 | 2016-10-09 16:02:11 -0700 | [diff] [blame] | 109 | android:name=".PrivacySettings" |
Steve Kondik | ee83354 | 2016-09-20 00:44:09 -0700 | [diff] [blame] | 110 | android:label="@string/privacy_settings_title" |
| 111 | android:targetActivity="PartsActivity"> |
Danny Baumann | 03fb141 | 2017-01-27 08:33:08 +0100 | [diff] [blame] | 112 | <intent-filter android:priority="3"> |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 113 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 114 | <action android:name="org.lineageos.lineageparts.PRIVACY_SETTINGS" /> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 115 | <category android:name="android.intent.category.DEFAULT" /> |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 116 | </intent-filter> |
| 117 | <meta-data |
| 118 | android:name="com.android.settings.category" |
| 119 | android:value="com.android.settings.category.personal" /> |
| 120 | <meta-data |
| 121 | android:name="com.android.settings.icon" |
| 122 | android:resource="@drawable/ic_settings_privacy" /> |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 123 | <meta-data |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 124 | android:name="org.lineageos.settings.summary.receiver" |
| 125 | android:value="org.lineageos.lineageparts.PartsUpdater" /> |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 126 | <meta-data |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 127 | android:name="org.lineageos.settings.summary.key" |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 128 | android:value="privacy_settings" /> |
Steve Kondik | ee83354 | 2016-09-20 00:44:09 -0700 | [diff] [blame] | 129 | </activity-alias> |
Sam Mortimer | f83ce0e | 2017-09-13 15:31:56 -0700 | [diff] [blame] | 130 | --> |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 131 | |
Simon Shields | 196aaa4 | 2017-11-24 16:38:47 +1100 | [diff] [blame^] | 132 | <!-- Button settings (System category) --> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 133 | <activity-alias |
| 134 | android:name=".input.ButtonSettings" |
| 135 | android:label="@string/button_pref_title" |
Simon Shields | 196aaa4 | 2017-11-24 16:38:47 +1100 | [diff] [blame^] | 136 | android:icon="@drawable/ic_settings_buttons" |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 137 | android:targetActivity="PartsActivity"> |
Simon Shields | 196aaa4 | 2017-11-24 16:38:47 +1100 | [diff] [blame^] | 138 | <intent-filter android:priority="256"> |
| 139 | <action android:name="org.lineageos.lineageparts.action.SETTINGS" /> |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 140 | <action android:name="org.lineageos.lineageparts.BUTTON_SETTINGS" /> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 141 | <category android:name="android.intent.category.DEFAULT" /> |
| 142 | </intent-filter> |
| 143 | <meta-data |
| 144 | android:name="com.android.settings.category" |
Simon Shields | 196aaa4 | 2017-11-24 16:38:47 +1100 | [diff] [blame^] | 145 | android:value="com.android.settings.category.ia.system" /> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 146 | <meta-data |
Simon Shields | 196aaa4 | 2017-11-24 16:38:47 +1100 | [diff] [blame^] | 147 | android:name="com.android.settings.summary" |
| 148 | android:value="@string/summary_empty" /> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 149 | </activity-alias> |
| 150 | |
Sam Mortimer | f83ce0e | 2017-09-13 15:31:56 -0700 | [diff] [blame] | 151 | <!-- |
Zhao Wei Liew | 2ccca73 | 2017-01-21 00:51:22 +0800 | [diff] [blame] | 152 | <activity android:name=".gestures.KeyHandler" /> |
Sam Mortimer | f83ce0e | 2017-09-13 15:31:56 -0700 | [diff] [blame] | 153 | --> |
Zhao Wei Liew | 2ccca73 | 2017-01-21 00:51:22 +0800 | [diff] [blame] | 154 | |
Ethan Chen | d629eb4 | 2017-10-05 00:50:26 -0700 | [diff] [blame] | 155 | <!-- Profiles settings (System category) --> |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 156 | <activity-alias |
| 157 | android:name=".profiles.ProfilesSettings" |
| 158 | android:label="@string/profiles_settings_title" |
Ethan Chen | d629eb4 | 2017-10-05 00:50:26 -0700 | [diff] [blame] | 159 | android:icon="@drawable/ic_settings_profiles" |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 160 | android:targetActivity="PartsActivity"> |
Ethan Chen | d629eb4 | 2017-10-05 00:50:26 -0700 | [diff] [blame] | 161 | <intent-filter android:priority="255"> |
| 162 | <action android:name="org.lineageos.lineageparts.action.SETTINGS" /> |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 163 | <action android:name="org.lineageos.lineageparts.PROFILES_SETTINGS" /> |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 164 | <category android:name="android.intent.category.DEFAULT" /> |
| 165 | </intent-filter> |
| 166 | <meta-data |
| 167 | android:name="com.android.settings.category" |
Ethan Chen | d629eb4 | 2017-10-05 00:50:26 -0700 | [diff] [blame] | 168 | android:value="com.android.settings.category.ia.system" /> |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 169 | <meta-data |
Ethan Chen | d629eb4 | 2017-10-05 00:50:26 -0700 | [diff] [blame] | 170 | android:name="com.android.settings.summary" |
| 171 | android:resource="@string/summary_empty" /> |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 172 | </activity-alias> |
| 173 | |
Bruno Martins | 5c82499 | 2017-10-18 19:39:45 +0100 | [diff] [blame] | 174 | <!-- Status bar settings (System category) --> |
Steve Kondik | 50c9fe6 | 2016-09-14 01:36:48 -0700 | [diff] [blame] | 175 | <activity-alias |
| 176 | android:name=".statusbar.StatusBarSettings" |
| 177 | android:label="@string/status_bar_title" |
Bruno Martins | 5c82499 | 2017-10-18 19:39:45 +0100 | [diff] [blame] | 178 | android:icon="@drawable/ic_settings_statusbar" |
Steve Kondik | 50c9fe6 | 2016-09-14 01:36:48 -0700 | [diff] [blame] | 179 | android:targetActivity="PartsActivity"> |
Bruno Martins | 5c82499 | 2017-10-18 19:39:45 +0100 | [diff] [blame] | 180 | <intent-filter android:priority="254"> |
| 181 | <action android:name="org.lineageos.lineageparts.action.SETTINGS" /> |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 182 | <action android:name="org.lineageos.lineageparts.STATUS_BAR_SETTINGS" /> |
Steve Kondik | 50c9fe6 | 2016-09-14 01:36:48 -0700 | [diff] [blame] | 183 | <category android:name="android.intent.category.DEFAULT" /> |
| 184 | </intent-filter> |
| 185 | <meta-data |
| 186 | android:name="com.android.settings.category" |
Bruno Martins | 5c82499 | 2017-10-18 19:39:45 +0100 | [diff] [blame] | 187 | android:value="com.android.settings.category.ia.system" /> |
Steve Kondik | 50c9fe6 | 2016-09-14 01:36:48 -0700 | [diff] [blame] | 188 | <meta-data |
Bruno Martins | 5c82499 | 2017-10-18 19:39:45 +0100 | [diff] [blame] | 189 | android:name="com.android.settings.summary" |
| 190 | android:resource="@string/summary_empty" /> |
Steve Kondik | 50c9fe6 | 2016-09-14 01:36:48 -0700 | [diff] [blame] | 191 | </activity-alias> |
| 192 | |
Steve Kondik | cd4f0ee | 2016-09-26 00:23:57 -0700 | [diff] [blame] | 193 | <!-- Anonymous Statistics --> |
Sam Mortimer | f83ce0e | 2017-09-13 15:31:56 -0700 | [diff] [blame] | 194 | <!-- |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 195 | <receiver android:name=".lineagestats.ReportingServiceManager" |
Steve Kondik | cd4f0ee | 2016-09-26 00:23:57 -0700 | [diff] [blame] | 196 | android:enabled="true" |
| 197 | android:exported="false" |
| 198 | android:label="ReportingServiceManager"> |
| 199 | <intent-filter> |
| 200 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 201 | <action android:name="org.lineageos.lineageparts.action.TRIGGER_REPORT_METRICS" /> |
Steve Kondik | cd4f0ee | 2016-09-26 00:23:57 -0700 | [diff] [blame] | 202 | </intent-filter> |
| 203 | </receiver> |
| 204 | |
| 205 | <service android:label="ReportingService" |
| 206 | android:enabled="true" |
| 207 | android:exported="false" |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 208 | android:name=".lineagestats.ReportingService"> |
Steve Kondik | cd4f0ee | 2016-09-26 00:23:57 -0700 | [diff] [blame] | 209 | </service> |
| 210 | |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 211 | <service android:name=".lineagestats.StatsUploadJobService" |
Steve Kondik | cd4f0ee | 2016-09-26 00:23:57 -0700 | [diff] [blame] | 212 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
| 213 | |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 214 | <service android:name=".lineagestats.ReportingService" |
Steve Kondik | cd4f0ee | 2016-09-26 00:23:57 -0700 | [diff] [blame] | 215 | android:label="ReportingService" |
| 216 | android:enabled="true" |
| 217 | android:exported="false" /> |
Sam Mortimer | f83ce0e | 2017-09-13 15:31:56 -0700 | [diff] [blame] | 218 | --> |
Steve Kondik | cd4f0ee | 2016-09-26 00:23:57 -0700 | [diff] [blame] | 219 | |
Michael Bestas | e4abd6f | 2017-12-28 01:03:31 +0200 | [diff] [blame] | 220 | <!-- Weather settings --> |
Steve Kondik | 3b9691d | 2016-10-08 21:42:35 -0700 | [diff] [blame] | 221 | <activity-alias |
| 222 | android:name=".weather.WeatherServiceSettings" |
| 223 | android:label="@string/weather_settings_title" |
| 224 | android:targetActivity="PartsActivity"> |
| 225 | <intent-filter android:priority="1"> |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 226 | <action android:name="lineageos.intent.action.MANAGE_WEATHER_PROVIDER_SERVICES" /> |
Steve Kondik | 3b9691d | 2016-10-08 21:42:35 -0700 | [diff] [blame] | 227 | <category android:name="android.intent.category.DEFAULT" /> |
| 228 | </intent-filter> |
| 229 | </activity-alias> |
| 230 | |
Maxim Becker | 4677ce6 | 2017-02-09 14:07:50 +0100 | [diff] [blame] | 231 | <activity android:name=".profiles.NFCProfile"> |
| 232 | <intent-filter> |
| 233 | <action android:name="android.nfc.action.NDEF_DISCOVERED"/> |
| 234 | <category android:name="android.intent.category.DEFAULT"/> |
| 235 | <data android:mimeType="cm/profile" /> |
| 236 | </intent-filter> |
| 237 | </activity> |
| 238 | |
| 239 | <activity |
| 240 | android:name=".profiles.NFCProfileSelect" |
| 241 | android:label="@string/profile_select" |
| 242 | android:excludeFromRecents="true"/> |
| 243 | |
Michael Bestas | 03645f2 | 2014-11-13 21:22:46 +0200 | [diff] [blame] | 244 | <activity android:name=".logo.PlatLogoActivity" |
| 245 | android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen" |
| 246 | android:configChanges="orientation|keyboardHidden"> |
| 247 | <intent-filter> |
| 248 | <action android:name="android.intent.action.MAIN" /> |
| 249 | <category android:name="android.intent.category.DEFAULT" /> |
| 250 | </intent-filter> |
| 251 | </activity> |
| 252 | |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 253 | </application> |
| 254 | </manifest> |