@Override public void done() { if (mResetToWaiting) { mModel.clearData(true); mModel.setStatusText("Waiting"); mModel.clearGreetAndName(); mModel.notifyObservers(); mModel.clearData(false); } }
@Override protected Boolean doInBackground() throws Exception { WavPlayer player = new WavPlayer(); File f = new File(mModel.getPreferences().getFileLocation() + mFilePath); player.play(f); return true; }