@Override public void onPause() { super.onPause(); if (!continueBGMusic) { MusicManager.pause(); } }
public void onResume() { super.onResume(); continueBGMusic = false; MusicManager.start(this, R.raw.synth); }