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 | ee8f6e8 | 2016-10-10 01:31:23 -0700 | [diff] [blame^] | 39 | <uses-permission android:name="cyanogenmod.permission.MANAGE_PARTS" /> |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 40 | |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 41 | <protected-broadcast android:name="cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED" /> |
Steve Kondik | e5f7611 | 2016-09-12 22:20:04 -0700 | [diff] [blame] | 42 | <protected-broadcast android:name="org.cyanogenmod.cmparts.PART_CHANGED" /> |
Steve Kondik | ee8f6e8 | 2016-10-10 01:31:23 -0700 | [diff] [blame^] | 43 | <protected-broadcast android:name="org.cyanogenmod.cmparts.REFRESH_PART" /> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 44 | |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 45 | <application android:label="@string/cmparts_title" |
| 46 | android:theme="@style/Theme.Settings" |
| 47 | android:hardwareAccelerated="true" |
| 48 | android:supportsRtl="true" |
| 49 | android:defaultToDeviceProtectedStorage="true" |
| 50 | android:directBootAware="true"> |
| 51 | |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 52 | <activity android:name="PartsActivity"> |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 53 | <intent-filter> |
Steve Kondik | 974a0ff | 2016-10-08 03:53:57 -0700 | [diff] [blame] | 54 | <action android:name="android.intent.action.MAIN" /> |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 55 | <category android:name="android.intent.category.DEFAULT" /> |
| 56 | </intent-filter> |
| 57 | </activity> |
| 58 | |
Steve Kondik | 362d0d6 | 2016-09-25 23:53:46 -0700 | [diff] [blame] | 59 | <receiver android:name="BootReceiver" android:enabled="true"> |
| 60 | <intent-filter android:priority="2147483647"> |
| 61 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 62 | </intent-filter> |
| 63 | </receiver> |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 64 | |
Steve Kondik | ee8f6e8 | 2016-10-10 01:31:23 -0700 | [diff] [blame^] | 65 | <receiver android:name=".RefreshReceiver" android:enabled="true"> |
| 66 | <intent-filter> |
| 67 | <action android:name="org.cyanogenmod.cmparts.REFRESH_PART" /> |
| 68 | </intent-filter> |
| 69 | </receiver> |
| 70 | |
Steve Kondik | 165ebdf | 2016-10-07 00:17:49 -0700 | [diff] [blame] | 71 | <provider android:name=".search.CMPartsSearchIndexablesProvider" |
| 72 | android:authorities="org.cyanogenmod.cmparts" |
| 73 | android:multiprocess="false" |
| 74 | android:grantUriPermissions="true" |
| 75 | android:permission="android.permission.READ_SEARCH_INDEXABLES" |
| 76 | android:exported="true"> |
| 77 | <intent-filter> |
| 78 | <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" /> |
| 79 | </intent-filter> |
| 80 | </provider> |
| 81 | |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 82 | <!-- Privacy settings (dashboard) --> |
Steve Kondik | ee83354 | 2016-09-20 00:44:09 -0700 | [diff] [blame] | 83 | <activity-alias |
Sam Mortimer | 4f34349 | 2016-10-09 16:02:11 -0700 | [diff] [blame] | 84 | android:name=".PrivacySettings" |
Steve Kondik | ee83354 | 2016-09-20 00:44:09 -0700 | [diff] [blame] | 85 | android:label="@string/privacy_settings_title" |
| 86 | android:targetActivity="PartsActivity"> |
Steve Kondik | 73acb44 | 2016-10-09 00:24:55 -0700 | [diff] [blame] | 87 | <intent-filter android:priority="1"> |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 88 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 89 | <action android:name="org.cyanogenmod.cmparts.PRIVACY_SETTINGS" /> |
| 90 | <category android:name="android.intent.category.DEFAULT" /> |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 91 | </intent-filter> |
| 92 | <meta-data |
| 93 | android:name="com.android.settings.category" |
| 94 | android:value="com.android.settings.category.personal" /> |
| 95 | <meta-data |
| 96 | android:name="com.android.settings.icon" |
| 97 | android:resource="@drawable/ic_settings_privacy" /> |
Steve Kondik | ee83354 | 2016-09-20 00:44:09 -0700 | [diff] [blame] | 98 | </activity-alias> |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 99 | |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 100 | <!-- Button settings (dashboard) --> |
| 101 | <activity-alias |
| 102 | android:name=".input.ButtonSettings" |
| 103 | android:label="@string/button_pref_title" |
| 104 | android:targetActivity="PartsActivity"> |
| 105 | <intent-filter android:priority="1"> |
| 106 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
| 107 | <action android:name="org.cyanogenmod.cmparts.BUTTON_SETTINGS" /> |
| 108 | <category android:name="android.intent.category.DEFAULT" /> |
| 109 | </intent-filter> |
| 110 | <meta-data |
| 111 | android:name="com.android.settings.category" |
| 112 | android:value="com.android.settings.category.device" /> |
| 113 | <meta-data |
| 114 | android:name="com.android.settings.icon" |
| 115 | android:resource="@drawable/ic_settings_buttons" /> |
| 116 | </activity-alias> |
| 117 | |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 118 | <!-- Profiles settings (dashboard) --> |
| 119 | <activity-alias |
| 120 | android:name=".profiles.ProfilesSettings" |
| 121 | android:label="@string/profiles_settings_title" |
| 122 | android:targetActivity="PartsActivity"> |
Steve Kondik | 73acb44 | 2016-10-09 00:24:55 -0700 | [diff] [blame] | 123 | <intent-filter android:priority="1"> |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 124 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
| 125 | <action android:name="org.cyanogenmod.cmparts.PROFILES_SETTINGS" /> |
| 126 | <category android:name="android.intent.category.DEFAULT" /> |
| 127 | </intent-filter> |
| 128 | <meta-data |
| 129 | android:name="com.android.settings.category" |
| 130 | android:value="com.android.settings.category.personal" /> |
| 131 | <meta-data |
| 132 | android:name="com.android.settings.icon" |
| 133 | android:resource="@drawable/ic_settings_profiles" /> |
| 134 | </activity-alias> |
| 135 | |
Steve Kondik | 50c9fe6 | 2016-09-14 01:36:48 -0700 | [diff] [blame] | 136 | <!-- Status bar settings (dashboard) --> |
| 137 | <activity-alias |
| 138 | android:name=".statusbar.StatusBarSettings" |
| 139 | android:label="@string/status_bar_title" |
| 140 | android:targetActivity="PartsActivity"> |
| 141 | <intent-filter android:priority="1"> |
| 142 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
| 143 | <action android:name="org.cyanogenmod.cmparts.STATUS_BAR_SETTINGS" /> |
| 144 | <category android:name="android.intent.category.DEFAULT" /> |
| 145 | </intent-filter> |
| 146 | <meta-data |
| 147 | android:name="com.android.settings.category" |
Steve Kondik | 73acb44 | 2016-10-09 00:24:55 -0700 | [diff] [blame] | 148 | android:value="com.android.settings.category.system" /> |
Steve Kondik | 50c9fe6 | 2016-09-14 01:36:48 -0700 | [diff] [blame] | 149 | <meta-data |
| 150 | android:name="com.android.settings.icon" |
| 151 | android:resource="@drawable/ic_settings_statusbar" /> |
| 152 | </activity-alias> |
| 153 | |
Steve Kondik | cd4f0ee | 2016-09-26 00:23:57 -0700 | [diff] [blame] | 154 | <!-- Anonymous Statistics --> |
| 155 | <receiver android:name=".cmstats.ReportingServiceManager" |
| 156 | android:enabled="true" |
| 157 | android:exported="false" |
| 158 | android:label="ReportingServiceManager"> |
| 159 | <intent-filter> |
| 160 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 161 | <action android:name="org.cyanogenmod.cmparts.action.TRIGGER_REPORT_METRICS" /> |
| 162 | </intent-filter> |
| 163 | </receiver> |
| 164 | |
| 165 | <service android:label="ReportingService" |
| 166 | android:enabled="true" |
| 167 | android:exported="false" |
| 168 | android:name=".cmstats.ReportingService"> |
| 169 | </service> |
| 170 | |
| 171 | <service android:name=".cmstats.StatsUploadJobService" |
| 172 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
| 173 | |
| 174 | <service android:name=".cmstats.ReportingService" |
| 175 | android:label="ReportingService" |
| 176 | android:enabled="true" |
| 177 | android:exported="false" /> |
| 178 | |
Steve Kondik | 3b9691d | 2016-10-08 21:42:35 -0700 | [diff] [blame] | 179 | <!-- Weather settings (dashboard) --> |
| 180 | <activity-alias |
| 181 | android:name=".weather.WeatherServiceSettings" |
| 182 | android:label="@string/weather_settings_title" |
| 183 | android:targetActivity="PartsActivity"> |
| 184 | <intent-filter android:priority="1"> |
| 185 | <action android:name="cyanogenmod.intent.action.MANAGE_WEATHER_PROVIDER_SERVICES" /> |
| 186 | <category android:name="android.intent.category.DEFAULT" /> |
| 187 | </intent-filter> |
| 188 | </activity-alias> |
| 189 | |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 190 | </application> |
| 191 | </manifest> |