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