Commit f085e10c authored by Sébastien Toque's avatar Sébastien Toque

disable SongList from AudioPlayerActivity for now.

Fragments can't used with startActivity
parent 9e04ad6f
......@@ -195,9 +195,12 @@ public class AudioPlayerActivity extends Activity implements IAudioPlayer {
}
public void onTextClick(View view) {
Intent intent = new Intent(this, AudioListFragment.class);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
//FIXME disabled until AudioPlayerActivity is converted to a fragment
// it's not possible to call startActivity on a Fragment.
//Intent intent = new Intent(this, AudioListFragment.class);
//intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
//startActivity(intent);
}
public void onPlayPauseClick(View view) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment