Files app: Retrieve all files under media-view's root to provide flatten views.
In FileSystem API level, the "Audio" media view has a directory structure like
Audio/{Artist}/{Song}.aac. We can't limit the level of recursion up to 1 to
find entries for "Audio".
Actually, a file will not be shown in multiple folders in media view hierarchy,
since no folders will be added in media documents provider.
We don't need to limit the level of recursion.
Bug: 870532
Test: Manually tested on arc-enabled kevin with voice recording app installed.
Change-Id: I1087b9c6e11812025d8456eef8dbec9faeb29cd0
Reviewed-on: https://chromium-review.googlesource.com/1164865
Commit-Queue: Naoki Fukino <fukino@chromium.org>
Reviewed-by: 
Shuhei Takahashi <nya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581484}
Showing
Please register or sign in to comment