am 90d088ca: When long pressing to add a bookmark, use the title text returned from WebCore to populate the title field of the add bookmark dialog.

Merge commit '90d088caeee718f89755ee9c25249ba6da15ab97' into eclair-mr2-plus-aosp

* commit '90d088caeee718f89755ee9c25249ba6da15ab97':
  When long pressing to add a bookmark, use the title text returned from WebCore to populate the title field of the add bookmark dialog.
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index c659fdd..c50c659 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -2143,6 +2143,7 @@
                 case FOCUS_NODE_HREF:
                 {
                     String url = (String) msg.getData().get("url");
+                    String title = (String) msg.getData().get("title");
                     if (url == null || url.length() == 0) {
                         break;
                     }
@@ -2168,6 +2169,7 @@
                             Intent intent = new Intent(BrowserActivity.this,
                                     AddBookmarkPage.class);
                             intent.putExtra("url", url);
+                            intent.putExtra("title", title);
                             startActivity(intent);
                             break;
                         case R.id.share_link_context_menu_id: