commit | 307d424467daf82542715c66735daebd87af6dce | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Sep 24 18:15:13 2015 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Sep 25 10:30:07 2015 -0700 |
tree | 9a49e7756ea28f4e7dcdc6ac92495e30f0c33c08 | |
parent | f02ba4b8ffc44ccbb94ebcf1b70b77fc06af83d4 [diff] |
Clean stale entries when deleting files. When deleting files directly from external storage devices, remove any matching entries from MediaStore so we don't end up showing stale entries to clients, such as MTP/PTP. Also handles the case where an entire directory is deleted. Bug: 24045921 Change-Id: I802470fa1aa03e0bec147ea113f1a49e26a0f3f9