summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGrace Kloba <>2009-03-25 20:05:44 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-25 20:05:44 -0700
commit52cf58a2a47e4dc975314fab44783c7e4654ca6d (patch)
treedc0ca28790ea4ee23dc65b8754039664ec640222 /core
parent82a0c4615e838bba11f50e111f6ca4a7243528ae (diff)
downloadframeworks_base-52cf58a2a47e4dc975314fab44783c7e4654ca6d.zip
frameworks_base-52cf58a2a47e4dc975314fab44783c7e4654ca6d.tar.gz
frameworks_base-52cf58a2a47e4dc975314fab44783c7e4654ca6d.tar.bz2
Automated import from //branches/master/...@142846,142846
Diffstat (limited to 'core')
-rw-r--r--core/java/android/webkit/CacheManager.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/webkit/CacheManager.java b/core/java/android/webkit/CacheManager.java
index 4528b73..c761602 100644
--- a/core/java/android/webkit/CacheManager.java
+++ b/core/java/android/webkit/CacheManager.java
@@ -52,7 +52,6 @@ public final class CacheManager {
private static final String NO_STORE = "no-store";
private static final String NO_CACHE = "no-cache";
- private static final String PRIVATE = "private";
private static final String MAX_AGE = "max-age";
private static long CACHE_THRESHOLD = 6 * 1024 * 1024;
@@ -629,7 +628,7 @@ public final class CacheManager {
// must be re-validated on every load. It does not mean that
// the content can not be cached. set to expire 0 means it
// can only be used in CACHE_MODE_CACHE_ONLY case
- if (NO_CACHE.equals(controls[i]) || PRIVATE.equals(controls[i])) {
+ if (NO_CACHE.equals(controls[i])) {
ret.expires = 0;
} else if (controls[i].startsWith(MAX_AGE)) {
int separator = controls[i].indexOf('=');