commit | c628379996660c9bbe8b77078321c9726b565339 | [log] [tgz] |
---|---|---|
author | Bartosz Bialek <bartosz.bialek@sonymobile.com> | Wed Oct 08 13:31:34 2014 +0200 |
committer | Jackeagle <jackeagle102@gmail.com> | Fri Oct 28 16:24:29 2016 +0530 |
tree | 026a696d9f7a1176bd390446caf33d516bfdeb09 | |
parent | 8fc1112385e7021775309e6c060555c80ed7df8f [diff] |
Do not scan a file which cannot be read When the media scanner is invoked to scan a file which it cannot access (e.g. one in the app-private directories) the related database entry will be created anyway, which doesn't make sense. This results in having broken entries showed up in e.g. Album app. This fix is to prevent scanning files which are inaccessible. Change-Id: I5b4909bf709c82d66e891f3e7f6890febc90c6eb Signed-off-by: Chet Kener <Cl3Kener@gmail.com>