Yes, this is the right fix. However, you should consider this stack 
deprecated and switch as soon as possible to the Chromium HTTP stack. This 
method is only used in the Apache HTTP stack path. I would not be surprised 
if other aspects of the Apache stack are broken or missing features.

The change I submitted to master that hasn't been pushed yet is:

--- 
a/core/java/android/webkit/BrowserFrame.java<https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=blob;f=core/java/android/webkit/BrowserFrame.java;h=8ce12fc6049b775b8c81764d8f4461acc745c4b3;hb=8ce12fc6049b775b8c81764d8f4461acc745c4b3>
+++ 
b/core/java/android/webkit/BrowserFrame.java<https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=blob;f=core/java/android/webkit/BrowserFrame.java;h=6fddb1ab90b7a436e534e0d4c221d792f68acbd0;hb=6fddb1ab90b7a436e534e0d4c221d792f68acbd0>
@@ 
-870,6<https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=blob;f=core/java/android/webkit/BrowserFrame.java;h=8ce12fc6049b775b8c81764d8f4461acc745c4b3;hb=8ce12fc6049b775b8c81764d8f4461acc745c4b3#l870>
 
+870,7<https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=blob;f=core/java/android/webkit/BrowserFrame.java;h=6fddb1ab90b7a436e534e0d4c221d792f68acbd0;hb=6fddb1ab90b7a436e534e0d4c221d792f68acbd0#l870>@@
 class BrowserFrame extends Handler {
         loader.setCacheMode(headers.containsKey("If-Modified-Since")
                 || headers.containsKey("If-None-Match") ? 
                         WebSettings.LOAD_NO_CACHE : cacheMode);
+        loader.executeLoad();
         // Set referrer to current URL?
         return !synchronous ? loadListener : null;
     }

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to