MediaScanner: Fix handling of files with dirent.d_type == DT_UNKNOWN

The previous code was calling stat() on the parent directory rather than the actual file.

Change-Id: If64552cb37552c77618a81ae4333307a018efe13
Signed-off-by: Mike Lockwood <lockwood@android.com>
1 file changed
tree: bf01ceb455b1d0c426de2a11189c5eb4724cec67
  1. camera/
  2. cmds/
  3. include/
  4. media/