summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorShimeng (Simon) Wang <swang@google.com>2010-09-13 10:23:02 -0700
committerShimeng (Simon) Wang <swang@google.com>2010-09-13 10:47:58 -0700
commitdc9f2b6668b408d451cf63527ef2ce074f678ae0 (patch)
treee3901fdbec3a82b8431728d4536d55465f2a2789 /cmds
parent3d7606aa607b24817e37c264f2141ed7b2d50be0 (diff)
downloadframeworks_base-dc9f2b6668b408d451cf63527ef2ce074f678ae0.zip
frameworks_base-dc9f2b6668b408d451cf63527ef2ce074f678ae0.tar.gz
frameworks_base-dc9f2b6668b408d451cf63527ef2ce074f678ae0.tar.bz2
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
Diffstat (limited to 'cmds')
0 files changed, 0 insertions, 0 deletions