diff options
| author | Ben Murdoch <benm@google.com> | 2010-07-06 16:30:38 +0100 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2010-07-09 13:54:14 +0100 |
| commit | eecb4e6cb64af03aad3f9facdbf6fd7190091b41 (patch) | |
| tree | 4ca0e78bd031a7d64cc5fc3161dad4d15d01722f /src/com/android/browser/TitleBar.java | |
| parent | 6af492aeddda96c749142885e3b49455aa336309 (diff) | |
| download | packages_apps_Browser-eecb4e6cb64af03aad3f9facdbf6fd7190091b41.tar.gz packages_apps_Browser-eecb4e6cb64af03aad3f9facdbf6fd7190091b41.tar.bz2 packages_apps_Browser-eecb4e6cb64af03aad3f9facdbf6fd7190091b41.zip | |
Improve the visibility and discoverability of the "add shortcut
to home" functionality in the Browser.
When the user selects the bookmark button adjacent to the URL bar
they will be prompted to either add a new bookmark for the current
page or add a shortcut to the current page to their homescreen,
rather than being taken to the bookmark management activity. The
bookmarks button on the options menu will still take the user
directly to the bookmark management activity.
Bug: b/2794945
Change-Id: I07190250379f1d6e2fe6b8ea280317949cd58b15
Diffstat (limited to 'src/com/android/browser/TitleBar.java')
| -rw-r--r-- | src/com/android/browser/TitleBar.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/TitleBar.java b/src/com/android/browser/TitleBar.java index 4e76334f8..f45025dd6 100644 --- a/src/com/android/browser/TitleBar.java +++ b/src/com/android/browser/TitleBar.java @@ -205,7 +205,7 @@ public class TitleBar extends TitleBarBase { } else if (mInLoad) { mBrowserActivity.stopLoading(); } else { - mBrowserActivity.bookmarksOrHistoryPicker(false); + mBrowserActivity.promptAddOrInstallBookmark(); } button.setPressed(false); } else if (mTitleBg.isPressed()) { |
