Commit 70ee34ca authored by Adrien Maglo's avatar Adrien Maglo
Browse files

Main activity: slide down the audio player on action bar home button press

parent 88657c1e
......@@ -615,6 +615,10 @@ public class MainActivity extends SherlockFragmentActivity {
onSearchRequested();
break;
case android.R.id.home:
// Slide down the audio player.
if (slideDownAudioPlayer())
break;
// If it's the albums songs view, a "backpressed" action shows .
if (secondaryFragments.contains(mCurrentFragment)) {
popSecondaryFragment();
......
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