This allows the history to be better handled when the song selector is opened on launch. Pressing back will leave the application, etc.
73 lines
2.7 KiB
XML
73 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2010 Christopher Eby <kreed@kreed.org>
|
|
|
|
This file is part of Vanilla Music Player.
|
|
|
|
Vanilla Music Player is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU Library General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or (at your
|
|
option) any later version.
|
|
|
|
Vanilla Music Player is distributed in the hope that it will be useful, but
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.kreed.vanilla"
|
|
android:versionName="0.1" android:versionCode="10">
|
|
<application
|
|
android:icon="@drawable/icon"
|
|
android:label="@string/app_name"
|
|
android:name="ContextApplication">
|
|
<activity
|
|
android:name="LaunchActivity"
|
|
android:theme="@style/NoBackground">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name="FullPlaybackActivity"
|
|
android:theme="@style/NoBackground"
|
|
android:launchMode="singleTop" />
|
|
<activity
|
|
android:name="SongSelector"
|
|
android:launchMode="singleTop"
|
|
android:theme="@android:style/Theme.Black.NoTitleBar" />
|
|
<activity
|
|
android:name="MiniPlaybackActivity"
|
|
android:theme="@android:style/Theme.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" />
|
|
<action android:name="org.kreed.vanilla.event.CHANGED" />
|
|
<action android:name="org.kreed.vanilla.event.REPLACE_SONG" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/one_cell_widget" />
|
|
</receiver>
|
|
<receiver android:name="MediaButtonReceiver" >
|
|
<intent-filter android:priority="1000">
|
|
<action android:name="android.intent.action.MEDIA_BUTTON" />
|
|
<action android:name="org.kreed.vanilla.action.ENABLE_RECEIVER" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<service android:name="PlaybackService" />
|
|
<activity android:name="PreferencesActivity" />
|
|
</application>
|
|
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="7" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
<supports-screens android:smallScreens="true" />
|
|
</manifest>
|