OSDN Git Service

Remove the WebView from its container to change focus.
authorPatrick Scott <phanna@android.com>
Thu, 17 Sep 2009 12:00:31 +0000 (08:00 -0400)
committerPatrick Scott <phanna@android.com>
Thu, 17 Sep 2009 13:56:23 +0000 (09:56 -0400)
commitd0119535d0c490e087be114ae8fd1639bb1945dc
treec305c7928c6f751992427868d4f9f03683091ebc
parenteb6ab2aeeccb5ddfba7faefd9c1b5fe14ee8d885
Remove the WebView from its container to change focus.

When the container is removed from the content view, its child views do not lose
focus. Removing the WebView from the container as well will trigger a focus
change from the WebView. Move the attach/remove logic to TabControl since it
knows all about the containers.
src/com/android/browser/BrowserActivity.java
src/com/android/browser/TabControl.java