blob: b1360d005777920ded606a31231b2e498837c99d [file] [log] [blame]
Steve Kondik66dbbd52016-09-03 05:15:27 -07001<?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 Kondikeeeadb52016-09-07 02:21:07 -070028 <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 Kondik03b56502016-09-10 17:17:25 -070035 <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" />
Steve Kondik362d0d62016-09-25 23:53:46 -070036 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Steve Kondik165ebdf2016-10-07 00:17:49 -070037 <uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" />
Steve Kondikeeeadb52016-09-07 02:21:07 -070038
Steve Kondik7789bbb2016-09-09 03:14:20 -070039 <uses-permission android:name="cyanogenmod.permission.BIND_CORE_SERVICE" />
40
Steve Kondik3281bd62016-09-09 23:55:11 -070041 <protected-broadcast android:name="cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED" />
Steve Kondike5f76112016-09-12 22:20:04 -070042 <protected-broadcast android:name="org.cyanogenmod.cmparts.PART_CHANGED" />
Steve Kondik3281bd62016-09-09 23:55:11 -070043
Steve Kondik66dbbd52016-09-03 05:15:27 -070044 <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 Kondik3281bd62016-09-09 23:55:11 -070051 <activity android:name="PartsActivity">
Steve Kondik7789bbb2016-09-09 03:14:20 -070052 <intent-filter>
Steve Kondik974a0ff2016-10-08 03:53:57 -070053 <action android:name="android.intent.action.MAIN" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070054 <category android:name="android.intent.category.DEFAULT" />
55 </intent-filter>
56 </activity>
57
Steve Kondik362d0d62016-09-25 23:53:46 -070058 <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 Kondik7789bbb2016-09-09 03:14:20 -070063
Steve Kondik165ebdf2016-10-07 00:17:49 -070064 <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 Kondik3281bd62016-09-09 23:55:11 -070075 <!-- Privacy settings (dashboard) -->
Steve Kondikee833542016-09-20 00:44:09 -070076 <activity-alias
Steve Kondik3281bd62016-09-09 23:55:11 -070077 android:name="PrivacySettings"
Steve Kondikee833542016-09-20 00:44:09 -070078 android:label="@string/privacy_settings_title"
79 android:targetActivity="PartsActivity">
80 <intent-filter android:priority="-2">
Steve Kondik66dbbd52016-09-03 05:15:27 -070081 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -070082 <action android:name="org.cyanogenmod.cmparts.PRIVACY_SETTINGS" />
83 <category android:name="android.intent.category.DEFAULT" />
Steve Kondik66dbbd52016-09-03 05:15:27 -070084 </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 Kondikee833542016-09-20 00:44:09 -070091 </activity-alias>
Steve Kondik66dbbd52016-09-03 05:15:27 -070092
Steve Kondik3281bd62016-09-09 23:55:11 -070093 <!-- 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 Kondik03b56502016-09-10 17:17:25 -0700111 <!-- Profiles settings (dashboard) -->
112 <activity-alias
113 android:name=".profiles.ProfilesSettings"
114 android:label="@string/profiles_settings_title"
115 android:targetActivity="PartsActivity">
Steve Kondik50c9fe62016-09-14 01:36:48 -0700116 <intent-filter android:priority="-2">
Steve Kondik03b56502016-09-10 17:17:25 -0700117 <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 Kondik50c9fe62016-09-14 01:36:48 -0700129 <!-- 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 Kondikcd4f0ee2016-09-26 00:23:57 -0700147 <!-- 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 Kondik66dbbd52016-09-03 05:15:27 -0700172 </application>
173</manifest>