private void stop() { this.playing = false; this.stopAudio(); synchronized (bmpQ) { this.index -= bmpQ.size(); while (!bmpQ.isEmpty()) { bmpQ.poll().recycle(); } } this.updateProgress(); this.ctrlView.setVisibility(View.VISIBLE); this.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); }