downloadmanager should use "files" dir - not "cache" dir to store its files
authorVasu Nori <vnori@google.com>
Fri, 7 Jan 2011 19:39:25 +0000 (11:39 -0800)
committerVasu Nori <vnori@google.com>
Fri, 7 Jan 2011 21:34:10 +0000 (13:34 -0800)
commitf5699308bc41c39ccbb388feb00a248304f30c54
tree8135617c9f2e957adb28187c0334e0a3a4f0c522
parent6eeee34a2cf4fb477cb789c7a232d09fc6565023
downloadmanager should use "files" dir - not "cache" dir to store its files

data/data/com.android.providers.downlaods/cache is being used
to store the downloaded files, when the user doesn't specify the
destination path.
but system seems to remove files from this dir EVEN when space is
running low. bug:3324673
instead, let DownloadManager use
data/data/com.android.providers.downlaods/files dir
Downlaodmanager manages its space anyway.

Change-Id: I2eb15570395a214477891f50f635fada0b466544
src/com/android/providers/downloads/DownloadThread.java
src/com/android/providers/downloads/StorageManager.java
tests/src/com/android/providers/downloads/DownloadManagerFunctionalTest.java