Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e2a385c authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 23395 into eclair

* changes:
  When we get 304 and switch to cacheLoader, need to set mFromCache to be true. So that the cache loading will not create a new mCacheResult which overwrites the old cache data.
parents 05a6f3cd ef32ee3d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -606,6 +606,7 @@ class LoadListener extends Handler implements EventHandler {
                // before calling it.
                if (mCacheLoader != null) {
                    mCacheLoader.load();
                    mFromCache = true;
                    if (DebugFlags.LOAD_LISTENER) {
                        Log.v(LOGTAG, "LoadListener cache load url=" + url());
                    }