Hi John , The method * startLoadingResource()* which refers to executeLoad() has been removed form 4.0.4. and the LoadListener.java also been removed . seem to be big change.
Can you tell me more detail about Data/Resource loading in 4.0.4 ?? Best Regard. -Will 在 2012年1月12日星期四UTC+8上午5时16分48秒,John Reck写道: > > 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 --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
