summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorVasu Nori <vnori@google.com>2010-12-17 16:09:12 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-12-17 16:09:12 -0800
commit3443c4a23aa71a4437f5222f3c93653d32a455a3 (patch)
tree3329ba7669b5d85c1959c136978e1898a58342eb /core/res
parentcea780781e02459c99b523a5c060801ec52d9a33 (diff)
parent79dcd66f619aeca857a92497fa59180bf22c040a (diff)
downloadframeworks_base-3443c4a23aa71a4437f5222f3c93653d32a455a3.zip
frameworks_base-3443c4a23aa71a4437f5222f3c93653d32a455a3.tar.gz
frameworks_base-3443c4a23aa71a4437f5222f3c93653d32a455a3.tar.bz2
Merge "bug:3286430 set default size of 100MB for download data dir"
Diffstat (limited to 'core/res')
-rw-r--r--core/res/res/values/config.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 5d03638..0d2d42f 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -497,6 +497,17 @@
to handle queries on each database. -->
<integer name="db_connection_pool_size">1</integer>
+ <!-- Max space (in MB) allocated to DownloadManager to store the downloaded
+ files if they are to be stored in DownloadManager's data dir,
+ which typically is /data/data/com.android.providers.downloads/files -->
+ <integer name="config_downloadDataDirSize">100</integer>
+
+ <!-- When the free space available in DownloadManager's data dir falls
+ below the percentage value specified by this param, DownloadManager
+ starts removing files to try to make percentage of available
+ free space above this threshold value. -->
+ <integer name="config_downloadDataDirLowSpaceThreshold">10</integer>
+
<!-- The URL that should be sent in an x-wap-profile header with an HTTP request,
as defined in the Open Mobile Alliance User Agent Profile specification
OMA-TS-UAProf-V2_0-20060206-A Section 8.1.1.1. If the URL contains a '%s'