MediaScanner: Add support for scanning empty directories

Currently the media scanner does not create database entries for directories
unless they contain a file that is scanned.
Fixing this so we provide a consistent view of the world to MTP.

Change-Id: Ia776acfeae23192183e7192d63cdc34d830ea889
Signed-off-by: Mike Lockwood <lockwood@android.com>
2 files changed
tree: 1c88af9da88152b3d499d6a0a92f1a0349bddff9
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/