summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/4/changes
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2010-08-18 11:00:42 -0400
committerPatrick Scott <phanna@android.com>2010-08-18 11:00:42 -0400
commit8a5d335a5533eef89aa8e4b701b692673145eef1 (patch)
treea50e1f09d0b211b818281c3d9ef613c9321e36b9 /docs/html/sdk/api_diff/4/changes
parent7eb84256e57ce85bece610e6a01e20fa12e0f3fe (diff)
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: 2894682 Change-Id: I73de9237ddbbdc55841a9b2639437e26856439c8
Diffstat (limited to 'docs/html/sdk/api_diff/4/changes')
0 files changed, 0 insertions, 0 deletions