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 | eeeadb5 | 2016-09-07 02:21:07 -0700 | [diff] [blame] | 36 | |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 37 | <uses-permission android:name="cyanogenmod.permission.BIND_CORE_SERVICE" /> |
| 38 | |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 39 | <protected-broadcast android:name="cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED" /> |
| 40 | |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 41 | <application android:label="@string/cmparts_title" |
| 42 | android:theme="@style/Theme.Settings" |
| 43 | android:hardwareAccelerated="true" |
| 44 | android:supportsRtl="true" |
| 45 | android:defaultToDeviceProtectedStorage="true" |
| 46 | android:directBootAware="true"> |
| 47 | |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 48 | <activity android:name="PartsActivity"> |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 49 | <intent-filter> |
| 50 | <action android:name="org.cyanogenmod.cmparts.PART" /> |
| 51 | <category android:name="android.intent.category.DEFAULT" /> |
| 52 | </intent-filter> |
| 53 | </activity> |
| 54 | |
| 55 | <service android:name="org.cyanogenmod.cmparts.PartsCatalog" |
| 56 | android:permission="cyanogenmod.permission.BIND_CORE_SERVICE" |
| 57 | android:enabled="true" |
| 58 | android:exported="true"> |
| 59 | <intent-filter> |
| 60 | <action android:name="org.cyanogenmod.cmparts.CATALOG" /> |
| 61 | </intent-filter> |
| 62 | </service> |
| 63 | |
| 64 | |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 65 | <!-- Privacy settings (dashboard) --> |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 66 | <activity |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 67 | android:name="PrivacySettings" |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 68 | android:label="@string/privacy_settings_title"> |
| 69 | <intent-filter android:priority="1"> |
| 70 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 71 | <action android:name="org.cyanogenmod.cmparts.PRIVACY_SETTINGS" /> |
| 72 | <category android:name="android.intent.category.DEFAULT" /> |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 73 | </intent-filter> |
| 74 | <meta-data |
| 75 | android:name="com.android.settings.category" |
| 76 | android:value="com.android.settings.category.personal" /> |
| 77 | <meta-data |
| 78 | android:name="com.android.settings.icon" |
| 79 | android:resource="@drawable/ic_settings_privacy" /> |
| 80 | </activity> |
| 81 | |
Steve Kondik | 3281bd6 | 2016-09-09 23:55:11 -0700 | [diff] [blame] | 82 | <!-- Button settings (dashboard) --> |
| 83 | <activity-alias |
| 84 | android:name=".input.ButtonSettings" |
| 85 | android:label="@string/button_pref_title" |
| 86 | android:targetActivity="PartsActivity"> |
| 87 | <intent-filter android:priority="1"> |
| 88 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
| 89 | <action android:name="org.cyanogenmod.cmparts.BUTTON_SETTINGS" /> |
| 90 | <category android:name="android.intent.category.DEFAULT" /> |
| 91 | </intent-filter> |
| 92 | <meta-data |
| 93 | android:name="com.android.settings.category" |
| 94 | android:value="com.android.settings.category.device" /> |
| 95 | <meta-data |
| 96 | android:name="com.android.settings.icon" |
| 97 | android:resource="@drawable/ic_settings_buttons" /> |
| 98 | </activity-alias> |
| 99 | |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 100 | <!-- Profiles settings (dashboard) --> |
| 101 | <activity-alias |
| 102 | android:name=".profiles.ProfilesSettings" |
| 103 | android:label="@string/profiles_settings_title" |
| 104 | android:targetActivity="PartsActivity"> |
| 105 | <intent-filter> |
| 106 | <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> |
| 107 | <action android:name="org.cyanogenmod.cmparts.PROFILES_SETTINGS" /> |
| 108 | <category android:name="android.intent.category.DEFAULT" /> |
| 109 | </intent-filter> |
| 110 | <meta-data |
| 111 | android:name="com.android.settings.category" |
| 112 | android:value="com.android.settings.category.personal" /> |
| 113 | <meta-data |
| 114 | android:name="com.android.settings.icon" |
| 115 | android:resource="@drawable/ic_settings_profiles" /> |
| 116 | </activity-alias> |
| 117 | |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 118 | </application> |
| 119 | </manifest> |