blob: d08e3cb2d9dee5d089e1215a1a8ebad86d45c62c [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 Kondikeeeadb52016-09-07 02:21:07 -070036
Steve Kondik7789bbb2016-09-09 03:14:20 -070037 <uses-permission android:name="cyanogenmod.permission.BIND_CORE_SERVICE" />
38
Steve Kondik3281bd62016-09-09 23:55:11 -070039 <protected-broadcast android:name="cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED" />
Steve Kondike5f76112016-09-12 22:20:04 -070040 <protected-broadcast android:name="org.cyanogenmod.cmparts.PART_CHANGED" />
Steve Kondik3281bd62016-09-09 23:55:11 -070041
Steve Kondik66dbbd52016-09-03 05:15:27 -070042 <application android:label="@string/cmparts_title"
43 android:theme="@style/Theme.Settings"
44 android:hardwareAccelerated="true"
45 android:supportsRtl="true"
46 android:defaultToDeviceProtectedStorage="true"
47 android:directBootAware="true">
48
Steve Kondik3281bd62016-09-09 23:55:11 -070049 <activity android:name="PartsActivity">
Steve Kondik7789bbb2016-09-09 03:14:20 -070050 <intent-filter>
51 <action android:name="org.cyanogenmod.cmparts.PART" />
52 <category android:name="android.intent.category.DEFAULT" />
53 </intent-filter>
54 </activity>
55
56 <service android:name="org.cyanogenmod.cmparts.PartsCatalog"
57 android:permission="cyanogenmod.permission.BIND_CORE_SERVICE"
58 android:enabled="true"
59 android:exported="true">
60 <intent-filter>
61 <action android:name="org.cyanogenmod.cmparts.CATALOG" />
62 </intent-filter>
63 </service>
64
65
Steve Kondik3281bd62016-09-09 23:55:11 -070066 <!-- Privacy settings (dashboard) -->
Steve Kondikee833542016-09-20 00:44:09 -070067 <activity-alias
Steve Kondik3281bd62016-09-09 23:55:11 -070068 android:name="PrivacySettings"
Steve Kondikee833542016-09-20 00:44:09 -070069 android:label="@string/privacy_settings_title"
70 android:targetActivity="PartsActivity">
71 <intent-filter android:priority="-2">
Steve Kondik66dbbd52016-09-03 05:15:27 -070072 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -070073 <action android:name="org.cyanogenmod.cmparts.PRIVACY_SETTINGS" />
74 <category android:name="android.intent.category.DEFAULT" />
Steve Kondik66dbbd52016-09-03 05:15:27 -070075 </intent-filter>
76 <meta-data
77 android:name="com.android.settings.category"
78 android:value="com.android.settings.category.personal" />
79 <meta-data
80 android:name="com.android.settings.icon"
81 android:resource="@drawable/ic_settings_privacy" />
Steve Kondikee833542016-09-20 00:44:09 -070082 </activity-alias>
Steve Kondik66dbbd52016-09-03 05:15:27 -070083
Steve Kondik3281bd62016-09-09 23:55:11 -070084 <!-- Button settings (dashboard) -->
85 <activity-alias
86 android:name=".input.ButtonSettings"
87 android:label="@string/button_pref_title"
88 android:targetActivity="PartsActivity">
89 <intent-filter android:priority="1">
90 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
91 <action android:name="org.cyanogenmod.cmparts.BUTTON_SETTINGS" />
92 <category android:name="android.intent.category.DEFAULT" />
93 </intent-filter>
94 <meta-data
95 android:name="com.android.settings.category"
96 android:value="com.android.settings.category.device" />
97 <meta-data
98 android:name="com.android.settings.icon"
99 android:resource="@drawable/ic_settings_buttons" />
100 </activity-alias>
101
Steve Kondik03b56502016-09-10 17:17:25 -0700102 <!-- Profiles settings (dashboard) -->
103 <activity-alias
104 android:name=".profiles.ProfilesSettings"
105 android:label="@string/profiles_settings_title"
106 android:targetActivity="PartsActivity">
Steve Kondik50c9fe62016-09-14 01:36:48 -0700107 <intent-filter android:priority="-2">
Steve Kondik03b56502016-09-10 17:17:25 -0700108 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
109 <action android:name="org.cyanogenmod.cmparts.PROFILES_SETTINGS" />
110 <category android:name="android.intent.category.DEFAULT" />
111 </intent-filter>
112 <meta-data
113 android:name="com.android.settings.category"
114 android:value="com.android.settings.category.personal" />
115 <meta-data
116 android:name="com.android.settings.icon"
117 android:resource="@drawable/ic_settings_profiles" />
118 </activity-alias>
119
Steve Kondik50c9fe62016-09-14 01:36:48 -0700120 <!-- Status bar settings (dashboard) -->
121 <activity-alias
122 android:name=".statusbar.StatusBarSettings"
123 android:label="@string/status_bar_title"
124 android:targetActivity="PartsActivity">
125 <intent-filter android:priority="1">
126 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
127 <action android:name="org.cyanogenmod.cmparts.STATUS_BAR_SETTINGS" />
128 <category android:name="android.intent.category.DEFAULT" />
129 </intent-filter>
130 <meta-data
131 android:name="com.android.settings.category"
132 android:value="com.android.settings.category.personal" />
133 <meta-data
134 android:name="com.android.settings.icon"
135 android:resource="@drawable/ic_settings_statusbar" />
136 </activity-alias>
137
Steve Kondik66dbbd52016-09-03 05:15:27 -0700138 </application>
139</manifest>