Files
frameworks_base/core/java/android
Shimeng (Simon) Wang dc9f2b6668 DO NOT MERGE
Use a static variable and methods for the current WebView.

sJavaBridge may not exist by the time onWindowFocusChanged is called.
To avoid an NPE, just static methods that modify a global field.
JWebCoreJavaBridge is a global object anyway so using a static field
will be fine.  To avoid any garbage collection issues, store the
WebView in a WeakReference.

Bug: 2908023
Change-Id: I05e9261f2c3d13c10c73c9b34f3aeea1d12a08a6
2010-09-13 10:47:58 -07:00
..
2010-02-17 16:46:42 -08:00
2010-01-29 13:29:51 -08:00
2010-09-02 13:48:09 -07:00
2010-09-08 16:32:27 -07:00
2010-09-07 14:09:36 -07:00
2010-09-13 10:47:58 -07:00