(GB/GBMR) (do not merge) delete file from disk when deleting from db
authorVasu Nori <vnori@google.com>
Fri, 3 Dec 2010 19:35:04 +0000 (11:35 -0800)
committerVasu Nori <vnori@google.com>
Fri, 3 Dec 2010 20:17:31 +0000 (12:17 -0800)
commit36fe18171c655dcf51d9dc396c70cc0e8e3ab7a4
tree6d3058b611c3b0640ad1c0a56d2c158b9cfa6bc6
parent5bbe15ed66d72dcab0ef133b9d237bba28cd6d98
(GB/GBMR) (do not merge) delete file from disk when deleting from db

bug:3175143
sometimes mediaprovider doesn't delete the file from disk when
it is deleted from its db. for example, audio files, pdf files.
DownloadManager/DownloadApp should delete the file when it is
deleted from downloads db.
DO NOT MERGE

this is esentially porting HC fix from DownloadService.java to GB

Change-Id: I70f3a7ad968f82ccba00d664e9a2993d75a18d15
src/com/android/providers/downloads/DownloadService.java
ui/src/com/android/providers/downloads/ui/DownloadList.java