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" |
| 21 | package="org.cyanogenmod.cmparts" |
| 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 | |
Steve Kondik | 69144e9 | 2016-10-15 01:02:13 -0700 | [diff] [blame] | 39 | <uses-permission android:name="cyanogenmod.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" /> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 42 | <protected-broadcast android:name="cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED" /> |
Steve Kondik | e5f7611 | 2016-09-12 22:20:04 -0700 | [diff] [blame] | 43 | <protected-broadcast android:name="org.cyanogenmod.cmparts.PART_CHANGED" /> |
Steve Kondik | ee8f6e8 | 2016-10-10 01:31:23 -0700 | [diff] [blame] | 44 | <protected-broadcast android:name="org.cyanogenmod.cmparts.REFRESH_PART" /> |
Zhao Wei Liew | 2ccca73 | 2017-01-21 00:51:22 +0800 | [diff] [blame] | 45 | <protected-broadcast android:name="org.cyanogenmod.cmparts.gestures.UPDATE_SETTINGS" /> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 46 | |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 47 | <application android:label="@string/cmparts_title" |
| 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 |
| 61 | android:name="org.cyanogenmod.settings.summary.receiver" |
| 62 | android:value="org.cyanogenmod.cmparts.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> |
Steve Kondik | 69144e9 | 2016-10-15 01:02:13 -0700 | [diff] [blame] | 73 | <action android:name="cyanogenmod.intent.action.UPDATE_PREFERENCE" /> |
| 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 | |
Steve Kondik | 165ebdf | 2016-10-07 00:17:49 -0700 | [diff] [blame] | 78 | <provider android:name=".search.CMPartsSearchIndexablesProvider" |
| 79 | android:authorities="org.cyanogenmod.cmparts" |
| 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 | |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 89 | <!-- Privacy settings (dashboard) --> |
Steve Kondik | ee83354 | 2016-09-20 00:44:09 -0700 | [diff] [blame] | 90 | <activity-alias |
Sam Mortimer | 4f34349 | 2016-10-09 16:02:11 -0700 | [diff] [blame] | 91 | android:name=".PrivacySettings" |
Steve Kondik | ee83354 | 2016-09-20 00:44:09 -0700 | [diff] [blame] | 92 | android:label="@string/privacy_settings_title" |
| 93 | android:targetActivity="PartsActivity"> |
Danny Baumann | 03fb141 | 2017-01-27 08:33:08 +0100 | [diff] [blame] | 94 | <intent-filter android:priority="3"> |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 95 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 96 | <action android:name="org.cyanogenmod.cmparts.PRIVACY_SETTINGS" /> |
| 97 | <category android:name="android.intent.category.DEFAULT" /> |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 98 | </intent-filter> |
| 99 | <meta-data |
| 100 | android:name="com.android.settings.category" |
| 101 | android:value="com.android.settings.category.personal" /> |
| 102 | <meta-data |
| 103 | android:name="com.android.settings.icon" |
| 104 | android:resource="@drawable/ic_settings_privacy" /> |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 105 | <meta-data |
| 106 | android:name="org.cyanogenmod.settings.summary.receiver" |
Steve Kondik | 69144e9 | 2016-10-15 01:02:13 -0700 | [diff] [blame] | 107 | android:value="org.cyanogenmod.cmparts.PartsUpdater" /> |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 108 | <meta-data |
| 109 | android:name="org.cyanogenmod.settings.summary.key" |
| 110 | android:value="privacy_settings" /> |
Steve Kondik | ee83354 | 2016-09-20 00:44:09 -0700 | [diff] [blame] | 111 | </activity-alias> |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 112 | |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 113 | <!-- Button settings (dashboard) --> |
| 114 | <activity-alias |
| 115 | android:name=".input.ButtonSettings" |
| 116 | android:label="@string/button_pref_title" |
| 117 | android:targetActivity="PartsActivity"> |
| 118 | <intent-filter android:priority="1"> |
| 119 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
| 120 | <action android:name="org.cyanogenmod.cmparts.BUTTON_SETTINGS" /> |
| 121 | <category android:name="android.intent.category.DEFAULT" /> |
| 122 | </intent-filter> |
| 123 | <meta-data |
| 124 | android:name="com.android.settings.category" |
| 125 | android:value="com.android.settings.category.device" /> |
| 126 | <meta-data |
| 127 | android:name="com.android.settings.icon" |
| 128 | android:resource="@drawable/ic_settings_buttons" /> |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 129 | <meta-data |
| 130 | android:name="org.cyanogenmod.settings.summary.receiver" |
Steve Kondik | 69144e9 | 2016-10-15 01:02:13 -0700 | [diff] [blame] | 131 | android:value="org.cyanogenmod.cmparts.PartsUpdater" /> |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 132 | <meta-data |
| 133 | android:name="org.cyanogenmod.settings.summary.key" |
| 134 | android:value="button_settings" /> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 135 | </activity-alias> |
| 136 | |
Zhao Wei Liew | 2ccca73 | 2017-01-21 00:51:22 +0800 | [diff] [blame] | 137 | <activity android:name=".gestures.KeyHandler" /> |
| 138 | |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 139 | <!-- Profiles settings (dashboard) --> |
| 140 | <activity-alias |
| 141 | android:name=".profiles.ProfilesSettings" |
| 142 | android:label="@string/profiles_settings_title" |
| 143 | android:targetActivity="PartsActivity"> |
Steve Kondik | 73acb44 | 2016-10-09 00:24:55 -0700 | [diff] [blame] | 144 | <intent-filter android:priority="1"> |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 145 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
| 146 | <action android:name="org.cyanogenmod.cmparts.PROFILES_SETTINGS" /> |
| 147 | <category android:name="android.intent.category.DEFAULT" /> |
| 148 | </intent-filter> |
| 149 | <meta-data |
| 150 | android:name="com.android.settings.category" |
| 151 | android:value="com.android.settings.category.personal" /> |
| 152 | <meta-data |
| 153 | android:name="com.android.settings.icon" |
| 154 | android:resource="@drawable/ic_settings_profiles" /> |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 155 | <meta-data |
| 156 | android:name="org.cyanogenmod.settings.summary.receiver" |
Steve Kondik | 69144e9 | 2016-10-15 01:02:13 -0700 | [diff] [blame] | 157 | android:value="org.cyanogenmod.cmparts.PartsUpdater" /> |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 158 | <meta-data |
| 159 | android:name="org.cyanogenmod.settings.summary.key" |
| 160 | android:value="profiles_settings" /> |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 161 | </activity-alias> |
| 162 | |
Steve Kondik | 50c9fe6 | 2016-09-14 01:36:48 -0700 | [diff] [blame] | 163 | <!-- Status bar settings (dashboard) --> |
| 164 | <activity-alias |
| 165 | android:name=".statusbar.StatusBarSettings" |
| 166 | android:label="@string/status_bar_title" |
| 167 | android:targetActivity="PartsActivity"> |
Danny Baumann | 03fb141 | 2017-01-27 08:33:08 +0100 | [diff] [blame] | 168 | <intent-filter android:priority="2"> |
Steve Kondik | 50c9fe6 | 2016-09-14 01:36:48 -0700 | [diff] [blame] | 169 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
| 170 | <action android:name="org.cyanogenmod.cmparts.STATUS_BAR_SETTINGS" /> |
| 171 | <category android:name="android.intent.category.DEFAULT" /> |
| 172 | </intent-filter> |
| 173 | <meta-data |
| 174 | android:name="com.android.settings.category" |
Danny Baumann | 03fb141 | 2017-01-27 08:33:08 +0100 | [diff] [blame] | 175 | android:value="com.android.settings.category.personal" /> |
Steve Kondik | 50c9fe6 | 2016-09-14 01:36:48 -0700 | [diff] [blame] | 176 | <meta-data |
| 177 | android:name="com.android.settings.icon" |
| 178 | android:resource="@drawable/ic_settings_statusbar" /> |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 179 | <meta-data |
| 180 | android:name="org.cyanogenmod.settings.summary.receiver" |
Steve Kondik | 69144e9 | 2016-10-15 01:02:13 -0700 | [diff] [blame] | 181 | android:value="org.cyanogenmod.cmparts.PartsUpdater" /> |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 182 | <meta-data |
| 183 | android:name="org.cyanogenmod.settings.summary.key" |
| 184 | android:value="status_bar_settings" /> |
Steve Kondik | 50c9fe6 | 2016-09-14 01:36:48 -0700 | [diff] [blame] | 185 | </activity-alias> |
| 186 | |
Steve Kondik | cd4f0ee | 2016-09-26 00:23:57 -0700 | [diff] [blame] | 187 | <!-- Anonymous Statistics --> |
| 188 | <receiver android:name=".cmstats.ReportingServiceManager" |
| 189 | android:enabled="true" |
| 190 | android:exported="false" |
| 191 | android:label="ReportingServiceManager"> |
| 192 | <intent-filter> |
| 193 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 194 | <action android:name="org.cyanogenmod.cmparts.action.TRIGGER_REPORT_METRICS" /> |
| 195 | </intent-filter> |
| 196 | </receiver> |
| 197 | |
| 198 | <service android:label="ReportingService" |
| 199 | android:enabled="true" |
| 200 | android:exported="false" |
| 201 | android:name=".cmstats.ReportingService"> |
| 202 | </service> |
| 203 | |
| 204 | <service android:name=".cmstats.StatsUploadJobService" |
| 205 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
| 206 | |
| 207 | <service android:name=".cmstats.ReportingService" |
| 208 | android:label="ReportingService" |
| 209 | android:enabled="true" |
| 210 | android:exported="false" /> |
| 211 | |
Steve Kondik | 63d9c6d | 2016-10-11 02:34:02 -0700 | [diff] [blame] | 212 | <!-- Weather settings --> |
Steve Kondik | 3b9691d | 2016-10-08 21:42:35 -0700 | [diff] [blame] | 213 | <activity-alias |
| 214 | android:name=".weather.WeatherServiceSettings" |
| 215 | android:label="@string/weather_settings_title" |
| 216 | android:targetActivity="PartsActivity"> |
| 217 | <intent-filter android:priority="1"> |
| 218 | <action android:name="cyanogenmod.intent.action.MANAGE_WEATHER_PROVIDER_SERVICES" /> |
| 219 | <category android:name="android.intent.category.DEFAULT" /> |
| 220 | </intent-filter> |
| 221 | </activity-alias> |
| 222 | |
Maxim Becker | 4677ce6 | 2017-02-09 14:07:50 +0100 | [diff] [blame] | 223 | <activity android:name=".profiles.NFCProfile"> |
| 224 | <intent-filter> |
| 225 | <action android:name="android.nfc.action.NDEF_DISCOVERED"/> |
| 226 | <category android:name="android.intent.category.DEFAULT"/> |
| 227 | <data android:mimeType="cm/profile" /> |
| 228 | </intent-filter> |
| 229 | </activity> |
| 230 | |
| 231 | <activity |
| 232 | android:name=".profiles.NFCProfileSelect" |
| 233 | android:label="@string/profile_select" |
| 234 | android:excludeFromRecents="true"/> |
| 235 | |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 236 | </application> |
| 237 | </manifest> |