Hi,
As we are trying to load the audio files from SD Card, in LocalMediaPlayer, it is not loading the audio files.
I have analyzed the log and my understanding is, for internal storage, content resolver is fetching the audio content. But for the external storage(SD Card/USB ) content resolver couldnt fetch the content.
Please find the log as below
==================================================================================================================================================================
03-12 11:01:56.825 187 1251 I audio_hw_primary: out_write() open card 0 port 0
03-12 11:01:56.829 187 1251 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
03-12 11:01:58.157 5004 5004 D LMBService: onLoadChildren parentId=__ALBUMS__
03-12 11:01:58.169 966 966 D PagedListView: onLayout hasFocus: false, mLastItemCount: 4, itemCount: 4, focusedChild: null, firstBorn: android.widget.LinearLayout{af1e104 V.E...C.. ......I. 24,0-1368,726 #7f0b006c app:id/container}, isInTouchMode: true, mNeedsFocus: false
03-12 11:01:58.188 5004 5398 I LMBDataModel: uri => content://media/internal/audio/albums
03-12 11:01:58.188 5004 5398 I LMBDataModel: keyColumn =>78638153
03-12 11:01:58.189 5004 5398 I LMBDataModel: titleColumn => ui
03-12 11:01:58.189 5004 5398 I LMBDataModel: description => ui, null, null
03-12 11:01:58.202 5004 5398 I LMBDataModel: uri => content://media/external/audio/albums
03-12 11:01:58.218 966 966 D PagedListView: onLayout hasFocus: false, mLastItemCount: 4, itemCount: 4, focusedChild: null, firstBorn: android.widget.LinearLayout{af1e104 V.E...C.. ......ID 24,0-1368,726 #7f0b006c app:id/container}, isInTouchMode: true, mNeedsFocus: false
03-12 11:02:01.253 187 187 I audio_hw_primary: do_out_standby() close card 0 port 0
==================================================================================================================================================================
In order to resolve this, do we need to update any configuration in AFS.
Thanks in advance.
Best Regards,
Shareen Taj A