Joey | 13020a4 | 2020-01-25 16:46:47 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /** |
| 4 | * Copyright 2016, The CyanogenMod Project |
| 5 | * Copyright 2017-2019, The LineageOS Project |
| 6 | * Copyright 2020, Shift GmbH |
| 7 | * |
| 8 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | * you may not use this file except in compliance with the License. |
| 10 | * You may obtain a copy of the License at |
| 11 | * |
| 12 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | * |
| 14 | * Unless required by applicable law or agreed to in writing, software |
| 15 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | * See the License for the specific language governing permissions and |
| 18 | * limitations under the License. |
| 19 | */ |
| 20 | --> |
| 21 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 22 | xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" |
| 23 | package="com.shiftos.shiftparts" |
| 24 | android:versionCode="1" |
| 25 | android:versionName="1.0" |
| 26 | android:sharedUserId="android.uid.system"> |
| 27 | |
Alexander Martinz | 8ca5783 | 2020-05-13 20:12:08 +0200 | [diff] [blame] | 28 | <uses-sdk android:minSdkVersion="24" android:targetSdkVersion="28" /> |
Joey | 13020a4 | 2020-01-25 16:46:47 +0100 | [diff] [blame] | 29 | |
| 30 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
| 31 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 32 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 33 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 34 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
| 35 | <uses-permission android:name="android.permission.DEVICE_POWER" /> |
| 36 | <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" /> |
| 37 | <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" /> |
| 38 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 39 | <uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" /> |
| 40 | |
| 41 | <uses-permission android:name="shiftos.permission.MANAGE_REMOTE_PREFERENCES" /> |
| 42 | |
| 43 | <protected-broadcast android:name="shiftos.intent.action.UPDATE_POWER_MENU" /> |
| 44 | <protected-broadcast android:name="com.shiftos.shiftparts.PART_CHANGED" /> |
| 45 | <protected-broadcast android:name="com.shiftos.shiftparts.REFRESH_PART" /> |
| 46 | |
| 47 | <application android:label="@string/shiftparts_title" |
| 48 | android:theme="@style/Theme.Settings" |
| 49 | android:hardwareAccelerated="true" |
| 50 | android:supportsRtl="true" |
| 51 | android:defaultToDeviceProtectedStorage="true" |
| 52 | android:directBootAware="true"> |
| 53 | |
| 54 | <activity android:name=".PartsActivity" |
| 55 | android:configChanges="orientation|keyboardHidden|screenSize"> |
| 56 | <intent-filter> |
| 57 | <action android:name="android.intent.action.MAIN" /> |
| 58 | <category android:name="android.intent.category.DEFAULT" /> |
| 59 | </intent-filter> |
| 60 | <meta-data |
| 61 | android:name="com.shiftos.settings.summary.receiver" |
| 62 | android:value="com.shiftos.shiftparts.PartsUpdater" /> |
| 63 | </activity> |
| 64 | |
| 65 | <receiver android:name=".PartsUpdater" android:enabled="true"> |
| 66 | <intent-filter> |
| 67 | <action android:name="shiftos.intent.action.UPDATE_PREFERENCE" /> |
| 68 | <category android:name="android.intent.category.DEFAULT" /> |
| 69 | </intent-filter> |
| 70 | </receiver> |
| 71 | |
| 72 | <provider android:name=".search.ShiftPartsSearchIndexablesProvider" |
| 73 | android:authorities="com.shiftos.shiftparts" |
| 74 | android:multiprocess="false" |
| 75 | android:grantUriPermissions="true" |
| 76 | android:permission="android.permission.READ_SEARCH_INDEXABLES" |
| 77 | android:exported="true"> |
| 78 | <intent-filter> |
| 79 | <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" /> |
| 80 | </intent-filter> |
| 81 | </provider> |
| 82 | |
| 83 | <!-- Button settings (System category) --> |
| 84 | <activity-alias |
| 85 | android:name=".input.ButtonSettings" |
| 86 | android:label="@string/button_pref_title" |
| 87 | android:icon="@drawable/ic_settings_buttons" |
| 88 | android:targetActivity="PartsActivity"> |
| 89 | <intent-filter> |
| 90 | <action android:name="com.android.settings.action.IA_SETTINGS" /> |
| 91 | <action android:name="com.shiftos.shiftparts.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.ia.system" /> |
| 97 | <meta-data |
| 98 | android:name="com.android.settings.order" |
| 99 | android:value="-256" /> |
| 100 | <meta-data |
| 101 | android:name="com.android.settings.summary" |
| 102 | android:resource="@string/summary_empty" /> |
| 103 | </activity-alias> |
| 104 | |
Joey | 13020a4 | 2020-01-25 16:46:47 +0100 | [diff] [blame] | 105 | <!-- Status bar settings (System category) --> |
| 106 | <activity-alias |
| 107 | android:name=".statusbar.StatusBarSettings" |
| 108 | android:label="@string/status_bar_title" |
| 109 | android:icon="@drawable/ic_settings_statusbar" |
| 110 | android:targetActivity="PartsActivity"> |
| 111 | <intent-filter> |
| 112 | <action android:name="com.android.settings.action.IA_SETTINGS" /> |
| 113 | <action android:name="com.shiftos.shiftparts.STATUS_BAR_SETTINGS" /> |
| 114 | <category android:name="android.intent.category.DEFAULT" /> |
| 115 | </intent-filter> |
| 116 | <meta-data |
| 117 | android:name="com.android.settings.category" |
| 118 | android:value="com.android.settings.category.ia.system" /> |
| 119 | <meta-data |
| 120 | android:name="com.android.settings.order" |
| 121 | android:value="-254" /> |
| 122 | <meta-data |
| 123 | android:name="com.android.settings.summary" |
| 124 | android:resource="@string/summary_empty" /> |
| 125 | </activity-alias> |
Joey | eb9fb9a | 2020-02-10 10:02:09 +0100 | [diff] [blame] | 126 | |
| 127 | <!-- Advanced settings (System category) --> |
| 128 | <activity-alias |
| 129 | android:name=".advanced.AdvancedSettings" |
| 130 | android:label="@string/advanced_title" |
| 131 | android:icon="@drawable/ic_settings_advanced" |
| 132 | android:targetActivity="PartsActivity"> |
| 133 | <intent-filter> |
| 134 | <action android:name="com.android.settings.action.IA_SETTINGS" /> |
| 135 | <action android:name="com.shiftos.shiftparts.ADVANCED_SETTINGS" /> |
| 136 | <category android:name="android.intent.category.DEFAULT" /> |
| 137 | </intent-filter> |
| 138 | <meta-data |
| 139 | android:name="com.android.settings.category" |
| 140 | android:value="com.android.settings.category.ia.system" /> |
| 141 | <meta-data |
| 142 | android:name="com.android.settings.order" |
| 143 | android:value="299" /> |
| 144 | <meta-data |
| 145 | android:name="com.android.settings.summary" |
| 146 | android:resource="@string/summary_empty" /> |
| 147 | </activity-alias> |
Joey | 13020a4 | 2020-01-25 16:46:47 +0100 | [diff] [blame] | 148 | </application> |
| 149 | </manifest> |