blob: 01e95486e441e111556799d3f3290c26098e3fee [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" />
35
Steve Kondik7789bbb2016-09-09 03:14:20 -070036 <uses-permission android:name="cyanogenmod.permission.BIND_CORE_SERVICE" />
37
Steve Kondik3281bd62016-09-09 23:55:11 -070038 <protected-broadcast android:name="cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED" />
39
Steve Kondik66dbbd52016-09-03 05:15:27 -070040 <application android:label="@string/cmparts_title"
41 android:theme="@style/Theme.Settings"
42 android:hardwareAccelerated="true"
43 android:supportsRtl="true"
44 android:defaultToDeviceProtectedStorage="true"
45 android:directBootAware="true">
46
Steve Kondik3281bd62016-09-09 23:55:11 -070047 <activity android:name="PartsActivity">
Steve Kondik7789bbb2016-09-09 03:14:20 -070048 <intent-filter>
49 <action android:name="org.cyanogenmod.cmparts.PART" />
50 <category android:name="android.intent.category.DEFAULT" />
51 </intent-filter>
52 </activity>
53
54 <service android:name="org.cyanogenmod.cmparts.PartsCatalog"
55 android:permission="cyanogenmod.permission.BIND_CORE_SERVICE"
56 android:enabled="true"
57 android:exported="true">
58 <intent-filter>
59 <action android:name="org.cyanogenmod.cmparts.CATALOG" />
60 </intent-filter>
61 </service>
62
63
Steve Kondik3281bd62016-09-09 23:55:11 -070064 <!-- Privacy settings (dashboard) -->
Steve Kondik66dbbd52016-09-03 05:15:27 -070065 <activity
Steve Kondik3281bd62016-09-09 23:55:11 -070066 android:name="PrivacySettings"
Steve Kondik66dbbd52016-09-03 05:15:27 -070067 android:label="@string/privacy_settings_title">
68 <intent-filter android:priority="1">
69 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -070070 <action android:name="org.cyanogenmod.cmparts.PRIVACY_SETTINGS" />
71 <category android:name="android.intent.category.DEFAULT" />
Steve Kondik66dbbd52016-09-03 05:15:27 -070072 </intent-filter>
73 <meta-data
74 android:name="com.android.settings.category"
75 android:value="com.android.settings.category.personal" />
76 <meta-data
77 android:name="com.android.settings.icon"
78 android:resource="@drawable/ic_settings_privacy" />
79 </activity>
80
Steve Kondik3281bd62016-09-09 23:55:11 -070081 <!-- Button settings (dashboard) -->
82 <activity-alias
83 android:name=".input.ButtonSettings"
84 android:label="@string/button_pref_title"
85 android:targetActivity="PartsActivity">
86 <intent-filter android:priority="1">
87 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
88 <action android:name="org.cyanogenmod.cmparts.BUTTON_SETTINGS" />
89 <category android:name="android.intent.category.DEFAULT" />
90 </intent-filter>
91 <meta-data
92 android:name="com.android.settings.category"
93 android:value="com.android.settings.category.device" />
94 <meta-data
95 android:name="com.android.settings.icon"
96 android:resource="@drawable/ic_settings_buttons" />
97 </activity-alias>
98
Steve Kondik66dbbd52016-09-03 05:15:27 -070099 </application>
100</manifest>