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