commit | 6124cddc629eb0a13e9d9e30e0613614d17950c5 | [log] [tgz] |
---|---|---|
author | Bartosz Bialek <bartosz.bialek@sonymobile.com> | Wed Oct 08 13:31:34 2014 +0200 |
committer | Zoran Jovanovic <zoran.jovanovic@sonymobile.com> | Wed Feb 17 15:31:39 2016 +0100 |
tree | aeb5d25a15079fedd258a932eb2389bfec7a8540 | |
parent | dcc79d83cb61a1996f627cf004a69eb019126070 [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