commit | 9b95ab17ecdaf1e3501f0deb7580cb2b5492331a | [log] [tgz] |
---|---|---|
author | Grace Kloba <klobag@google.com> | Thu Apr 01 16:07:30 2010 -0700 |
committer | Grace Kloba <klobag@google.com> | Thu Apr 01 17:40:07 2010 -0700 |
tree | 610cbde0cc4823fcf5cd9d26023a1359f34437ec | |
parent | 70c22a48e605cd59c35ccbbc5eee05b5a30f0a2a [diff] |
Instead of holding an ApplicationContext, JWebCoreJavaBridge will have a reference of the current window's main WebView. It is only non-null if the WebView's window has the focus. Extract setActive() from onWindowFocusChanged() so that onAttachedToWindow() can call it directly. The old way has a mis-matching call to onWindowFocusChanged. Fix http://b/issue?id=2559152