Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Marco Brohet | 8bd9470 | 2013-03-17 09:53:44 +0100 | [diff] [blame] | 2 | <!-- Copyright (C) 2012 Andrew Neal |
linus_lee | 71810eb | 2014-11-20 16:39:38 -0800 | [diff] [blame] | 3 | Copyright (C) 2014 The CyanogenMod Project |
Marco Brohet | 8bd9470 | 2013-03-17 09:53:44 +0100 | [diff] [blame] | 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 18 | package="org.lineageos.eleven" |
Joey Rizzoli | 120fc6d | 2016-01-25 18:11:46 -0800 | [diff] [blame] | 19 | android:versionCode="3" |
| 20 | android:versionName="3.0" > |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 21 | |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 22 | <uses-sdk |
Diogo Ferreira | 43d13ea | 2016-08-26 21:37:22 +0100 | [diff] [blame] | 23 | android:minSdkVersion="24" |
| 24 | android:targetSdkVersion="24" /> |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 25 | |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 26 | <original-package android:name="com.cyanogenmod.eleven" /> |
| 27 | |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 28 | <!-- Used for caching and creating new playlists --> |
| 29 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 30 | <!-- Used to check for a network connection --> |
| 31 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 32 | <!-- Used to download images --> |
| 33 | <uses-permission android:name="android.permission.INTERNET" /> |
| 34 | <!-- Used to keep the service running when the phone sleeps --> |
| 35 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 36 | <!-- The main service uses a sticky broadcast --> |
| 37 | <uses-permission android:name="android.permission.BROADCAST_STICKY" /> |
| 38 | <!-- Lower or raise the music based on the phone state --> |
| 39 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 40 | <!-- Used to set the devices's ringtone --> |
| 41 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 42 | <!-- Used to create launcher shortcuts --> |
| 43 | <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" /> |
linuxx | 81e13fb | 2014-12-10 18:25:02 +0100 | [diff] [blame] | 44 | <!-- Allows Eleven to read from External Storage --> |
Shareef Ali | 715bd79 | 2014-06-13 22:38:16 -0400 | [diff] [blame] | 45 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
Arne Coucheron | 1cc8b9e | 2017-07-31 00:17:51 +0200 | [diff] [blame] | 46 | <!-- Allows Eleven to modify media files on external storage --> |
| 47 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 48 | |
linus_lee | 8274981 | 2014-11-19 17:52:53 -0800 | [diff] [blame] | 49 | <!-- Audio Visualizer Permissions --> |
| 50 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| 51 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
| 52 | |
Mikalacki Sava | 758ec43 | 2015-01-13 17:37:46 +0100 | [diff] [blame] | 53 | <!-- Accelerometer feature for shake to play --> |
| 54 | <uses-feature android:name="android.hardware.sensor.accelerometer" /> |
| 55 | |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 56 | <application |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 57 | android:name="org.lineageos.eleven.ElevenApplication" |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 58 | android:allowBackup="true" |
| 59 | android:allowTaskReparenting="true" |
| 60 | android:hardwareAccelerated="@bool/config_hardwareAccelerated" |
Joey | 4492757 | 2018-01-25 12:16:58 +0100 | [diff] [blame^] | 61 | android:appCategory="audio" |
Michael Bestas | 0ee0e9b | 2015-02-02 09:02:31 +0200 | [diff] [blame] | 62 | android:icon="@mipmap/ic_launcher_eleven" |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 63 | android:label="@string/app_name" |
| 64 | android:largeHeap="@bool/config_largeHeap" |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 65 | android:taskAffinity="org.lineageos.eleven.task" |
linus_lee | ec7eb2e | 2014-08-29 19:44:58 -0700 | [diff] [blame] | 66 | android:theme="@style/Eleven.Theme"> |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 67 | |
| 68 | <!-- Searchable --> |
| 69 | <meta-data |
| 70 | android:name="android.app.default_searchable" |
| 71 | android:value=".ui.activities.SearchActivity" /> |
| 72 | <!-- Main activity --> |
| 73 | <activity |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 74 | android:name="org.lineageos.eleven.ui.activities.HomeActivity" |
linus_lee | 5d1b179 | 2014-08-21 18:52:12 -0700 | [diff] [blame] | 75 | android:windowSoftInputMode="adjustPan" |
linus_lee | 93e7c9f | 2014-09-30 16:51:08 -0700 | [diff] [blame] | 76 | android:launchMode="singleTop" |
linus_lee | 5d1b179 | 2014-08-21 18:52:12 -0700 | [diff] [blame] | 77 | android:exported="true" |
| 78 | android:theme="@style/Eleven.Theme.ActionBar.Overlay"> |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 79 | <intent-filter> |
| 80 | <action android:name="android.intent.action.MAIN" /> |
| 81 | <action android:name="android.intent.action.MUSIC_PLAYER" /> |
| 82 | |
| 83 | <category android:name="android.intent.category.LAUNCHER" /> |
| 84 | <category android:name="android.intent.category.APP_MUSIC" /> |
| 85 | <category android:name="android.intent.category.DEFAULT" /> |
| 86 | </intent-filter> |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 87 | <intent-filter> |
Danny Baumann | ceda239 | 2013-04-23 11:33:41 +0200 | [diff] [blame] | 88 | <action android:name="android.intent.action.VIEW" /> |
| 89 | |
| 90 | <category android:name="android.intent.category.DEFAULT" /> |
| 91 | |
| 92 | <data android:mimeType="vnd.android.cursor.dir/playlist" /> |
myfreeweb | 4e5a01c | 2014-03-12 21:10:27 +0400 | [diff] [blame] | 93 | <data android:mimeType="vnd.android.cursor.dir/albums" /> |
| 94 | <data android:mimeType="vnd.android.cursor.dir/artists" /> |
Danny Baumann | ceda239 | 2013-04-23 11:33:41 +0200 | [diff] [blame] | 95 | </intent-filter> |
| 96 | <intent-filter> |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 97 | <action android:name="org.lineageos.eleven.AUDIO_PLAYER" /> |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 98 | |
| 99 | <category android:name="android.intent.category.DEFAULT" /> |
| 100 | </intent-filter> |
| 101 | </activity> |
| 102 | |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 103 | <!-- Search interface --> |
| 104 | <activity |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 105 | android:name="org.lineageos.eleven.ui.activities.SearchActivity" |
linus_lee | f164ce2 | 2014-09-04 18:09:11 -0700 | [diff] [blame] | 106 | android:windowSoftInputMode="adjustResize" |
linus_lee | 985f930 | 2014-08-27 10:53:57 -0700 | [diff] [blame] | 107 | android:exported="true" |
Linus Lee | 4427680 | 2015-04-17 18:52:24 -0700 | [diff] [blame] | 108 | android:theme="@style/Eleven.Theme"> |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 109 | <intent-filter> |
| 110 | <action android:name="android.intent.action.SEARCH" /> |
| 111 | <action android:name="android.intent.action.MEDIA_SEARCH" /> |
| 112 | |
| 113 | <category android:name="android.intent.category.DEFAULT" /> |
| 114 | </intent-filter> |
| 115 | |
| 116 | <meta-data |
| 117 | android:name="android.app.searchable" |
| 118 | android:resource="@xml/searchable" /> |
| 119 | </activity> |
| 120 | <!-- Used to set options --> |
| 121 | <activity |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 122 | android:name="org.lineageos.eleven.ui.activities.SettingsActivity" |
Linus Lee | 4427680 | 2015-04-17 18:52:24 -0700 | [diff] [blame] | 123 | android:label="@string/menu_settings"/> |
Martin Brabham | dc90042 | 2015-05-27 15:52:06 -0700 | [diff] [blame] | 124 | <!-- Audio Preview --> |
| 125 | <activity |
| 126 | android:name=".ui.activities.preview.AudioPreviewActivity" |
| 127 | android:launchMode="singleTask" |
| 128 | android:excludeFromRecents="true" |
Danny Baumann | 2ee7c6e | 2016-02-02 16:19:56 +0100 | [diff] [blame] | 129 | android:taskAffinity="" |
Martin Brabham | dc90042 | 2015-05-27 15:52:06 -0700 | [diff] [blame] | 130 | android:theme="@style/Theme.AudioPreview"> |
| 131 | <intent-filter> |
| 132 | <action android:name="android.intent.action.VIEW" /> |
| 133 | |
| 134 | <category android:name="android.intent.category.DEFAULT" /> |
| 135 | |
| 136 | <data android:scheme="content" /> |
| 137 | <data android:mimeType="audio/*" /> |
| 138 | <data android:mimeType="application/ogg" /> |
| 139 | <data android:mimeType="application/x-ogg" /> |
| 140 | <data android:mimeType="application/itunes" /> |
| 141 | </intent-filter> |
| 142 | <intent-filter> |
| 143 | <action android:name="android.intent.action.VIEW" /> |
| 144 | |
| 145 | <category android:name="android.intent.category.DEFAULT" /> |
| 146 | |
| 147 | <data android:scheme="file" /> |
| 148 | <data android:mimeType="audio/*" /> |
| 149 | <data android:mimeType="application/ogg" /> |
| 150 | <data android:mimeType="application/x-ogg" /> |
| 151 | <data android:mimeType="application/itunes" /> |
| 152 | </intent-filter> |
| 153 | <intent-filter> |
| 154 | <action android:name="android.intent.action.VIEW" /> |
| 155 | |
| 156 | <category android:name="android.intent.category.DEFAULT" /> |
| 157 | <category android:name="android.intent.category.BROWSABLE" /> |
| 158 | |
| 159 | <data android:scheme="http" /> |
| 160 | <data android:mimeType="audio/*" /> |
| 161 | <data android:mimeType="application/ogg" /> |
| 162 | <data android:mimeType="application/x-ogg" /> |
| 163 | <data android:mimeType="application/itunes" /> |
| 164 | </intent-filter> |
| 165 | </activity> |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 166 | <!-- 4x1 App Widget --> |
| 167 | <receiver |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 168 | android:name="org.lineageos.eleven.appwidgets.AppWidgetSmall" |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 169 | android:exported="false" |
| 170 | android:label="@string/app_widget_small" > |
| 171 | <intent-filter> |
| 172 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 173 | </intent-filter> |
| 174 | |
| 175 | <meta-data |
| 176 | android:name="android.appwidget.provider" |
| 177 | android:resource="@xml/app_widget_small" /> |
| 178 | </receiver> |
| 179 | <!-- 4x2 App Widget --> |
| 180 | <receiver |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 181 | android:name="org.lineageos.eleven.appwidgets.AppWidgetLarge" |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 182 | android:exported="false" |
| 183 | android:label="@string/app_widget_large" > |
| 184 | <intent-filter> |
| 185 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 186 | </intent-filter> |
| 187 | |
| 188 | <meta-data |
| 189 | android:name="android.appwidget.provider" |
| 190 | android:resource="@xml/app_widget_large" /> |
| 191 | </receiver> |
| 192 | <!-- 4x2 alternate App Widget --> |
| 193 | <receiver |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 194 | android:name="org.lineageos.eleven.appwidgets.AppWidgetLargeAlternate" |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 195 | android:exported="false" |
| 196 | android:label="@string/app_widget_large_alt" > |
| 197 | <intent-filter> |
| 198 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 199 | </intent-filter> |
| 200 | |
| 201 | <meta-data |
| 202 | android:name="android.appwidget.provider" |
| 203 | android:resource="@xml/app_widget_large_alternate" /> |
| 204 | </receiver> |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 205 | <!-- Media button receiver --> |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 206 | <receiver android:name="org.lineageos.eleven.MediaButtonIntentReceiver" > |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 207 | <intent-filter> |
| 208 | <action android:name="android.intent.action.MEDIA_BUTTON" /> |
| 209 | <action android:name="android.media.AUDIO_BECOMING_NOISY" /> |
| 210 | </intent-filter> |
| 211 | </receiver> |
linus_lee | 7124d4f | 2014-12-04 12:30:29 -0800 | [diff] [blame] | 212 | <!-- Used to recalculate sorting of songs based on the user's locale --> |
| 213 | <receiver android:name=".locale.LocaleChangeReceiver"> |
| 214 | <intent-filter> |
| 215 | <action android:name="android.intent.action.LOCALE_CHANGED"/> |
| 216 | </intent-filter> |
| 217 | </receiver> |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 218 | <!-- Music service --> |
| 219 | <service |
Michael Bestas | 869ef7e | 2018-01-22 21:06:57 +0200 | [diff] [blame] | 220 | android:name="org.lineageos.eleven.MusicPlaybackService" |
Andrew Neal | ad90d96 | 2012-11-20 18:41:37 -0600 | [diff] [blame] | 221 | android:label="@string/app_name" |
| 222 | android:process=":main" /> |
| 223 | </application> |
| 224 | |
Danny Baumann | 6677f51 | 2013-02-23 13:19:00 +0100 | [diff] [blame] | 225 | </manifest> |