125 lines
4.8 KiB
XML
125 lines
4.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2012 Christopher Eby <kreed@kreed.org>
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
THE SOFTWARE.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.kreed.vanilla"
|
|
android:versionName="0.9.7"
|
|
android:versionCode="097"
|
|
android:installLocation="auto">
|
|
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="14" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
<!-- This is needed for isWiredHeadsetOn() to work in some cases. (bug?) -->
|
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
|
<application
|
|
android:icon="@drawable/icon"
|
|
android:label="@string/app_name"
|
|
android:backupAgent="PreferencesBackupAgent">
|
|
<activity
|
|
android:name="FullPlaybackActivity"
|
|
android:theme="@style/Playback"
|
|
android:launchMode="singleTask" />
|
|
<activity
|
|
android:name="LibraryActivity"
|
|
android:theme="@style/Library"
|
|
android:uiOptions="splitActionBarWhenNarrow"
|
|
android:launchMode="singleTask">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name="PlaylistActivity"
|
|
android:launchMode="singleTask"
|
|
android:theme="@style/BackActionBar" />
|
|
<activity
|
|
android:name="MiniPlaybackActivity"
|
|
android:theme="@style/Dialog"
|
|
android:excludeFromRecents="true"
|
|
android:launchMode="singleInstance" />
|
|
<receiver
|
|
android:name=".OneCellWidget"
|
|
android:label="Vanilla Music 1x1">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/one_cell_widget" />
|
|
</receiver>
|
|
<receiver
|
|
android:name=".FourLongWidget"
|
|
android:label="Vanilla Music 1x4">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/four_long_widget" />
|
|
</receiver>
|
|
<receiver
|
|
android:name=".FourSquareWidget"
|
|
android:label="Vanilla Music 2x2">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/four_square_widget" />
|
|
</receiver>
|
|
<!-- This widget has a minimum size of 2x2, but is really more useful
|
|
if it is at least 3x3... so that's what we'll call it. -->
|
|
<receiver
|
|
android:name=".WidgetD"
|
|
android:label="Vanilla Music 3x3">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/widget_d" />
|
|
</receiver>
|
|
<receiver android:name="MediaButtonReceiver" >
|
|
<intent-filter android:priority="999">
|
|
<action android:name="android.intent.action.MEDIA_BUTTON" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<service android:name="PlaybackService">
|
|
<intent-filter>
|
|
<action android:name="org.kreed.vanilla.action.PLAY" />
|
|
<action android:name="org.kreed.vanilla.action.PAUSE" />
|
|
<action android:name="org.kreed.vanilla.action.TOGGLE_PLAYBACK" />
|
|
<action android:name="org.kreed.vanilla.action.NEXT_SONG" />
|
|
<action android:name="org.kreed.vanilla.action.PREVIOUS_SONG" />
|
|
</intent-filter>
|
|
</service>
|
|
<activity
|
|
android:name="PreferencesActivity"
|
|
android:theme="@style/BackActionBar" />
|
|
<meta-data
|
|
android:name="com.google.android.backup.api_key"
|
|
android:value="AEdPqrEAAAAIH6Xcxa4hn6sHN1m4jMpi4MFFFMP5sv3XhFuWeA" />
|
|
</application>
|
|
</manifest>
|