From 5ecc1ce3d038c8086386532da379e20fb2e341e6 Mon Sep 17 00:00:00 2001 From: "ravi.n2" Date: Mon, 13 May 2013 14:08:58 +0530 Subject: [PATCH] NABI issue 37884 Change-Id: Iaac95f40691f61c3aba09053bd49d684ae4ca87c --- src/MfSubFolderSelection.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/MfSubFolderSelection.cpp b/src/MfSubFolderSelection.cpp index 2f48325..c4f93ca 100644 --- a/src/MfSubFolderSelection.cpp +++ b/src/MfSubFolderSelection.cpp @@ -1290,6 +1290,17 @@ SubFolderSelection::OnFileEventOccured(const unsigned long events,const Tizen::B { AppLogDebug("SubFolderSelection::OnFileEventOccured:%S", path.GetPointer()); + if (_pAudioPlayer != null) + { + if (_pAudioPlayer->GetState() == PLAYER_STATE_PLAYING || _pAudioPlayer->GetState() == PLAYER_STATE_PAUSED) + { + _pAudioPlayer->Stop(); + _pAudioPlayer->Close(); + _currentAudioPlayIndex = -1; + _previousAudioSelected = -1; + } + } + if ((events & FILE_EVENT_TYPE_MOVED_FROM) || (events & FILE_EVENT_TYPE_DELETE) || (events & FILE_EVENT_TYPE_MOVED_TO ) || (events & FILE_EVENT_TYPE_CREATE)) { if (_pFolderEntryPM!=null) -- 2.7.4