fix previous commit ;-)

This commit is contained in:
Adrian Ulrich 2014-10-13 17:49:24 +02:00
parent 3b62928056
commit 4632b8d665
2 changed files with 7 additions and 5 deletions

View File

@ -38,6 +38,8 @@ THE SOFTWARE.
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginLeft="4dip"
android:layout_marginTop="2dip"
android:layout_marginBottom="2dip"
android:src="@drawable/icon" />
<TextView
android:id="@+id/filepath"
@ -45,7 +47,7 @@ THE SOFTWARE.
android:layout_height="wrap_content"
android:layout_marginBottom="16dip"
android:layout_marginTop="16dip"
android:layout_marginLeft="8dip"
android:layout_marginLeft="16dip"
android:layout_marginRight="8dip" />
</LinearLayout>

View File

@ -70,11 +70,11 @@ public class AudioPickerActivity extends PlaybackActivity {
int mode;
switch(view.getId()) {
case R.id.enqueue:
mode = LibraryActivity.ACTION_ENQUEUE;
break;
case R.id.play:
mode = LibraryActivity.ACTION_PLAY;
mode = SongTimeline.MODE_PLAY;
break;
case R.id.enqueue:
mode = SongTimeline.MODE_ENQUEUE;
break;
default:
finish();