Volume always controls music volume

This commit is contained in:
Christopher Eby committed 2011-09-19 21:52:11 -05:00
1 parent cce040ded8
commit 0f95ac6336
1 file changed
+3
@@ -25,6 +25,7 @@ package org.kreed.vanilla;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.media.AudioManager;
import android.os.Bundle;
import android.os.Handler;
import android.os.HandlerThread;
@@ -70,6 +71,8 @@ public class PlaybackActivity extends Activity implements Handler.Callback, View
super.onCreate(state);
ContextApplication.addActivity(this);
setVolumeControlStream(AudioManager.STREAM_MUSIC);
HandlerThread thread = new HandlerThread(getClass().getName());
thread.start();