summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2010-10-20 17:03:10 -0700
committerMichael Kolb <kolby@google.com>2010-10-21 11:24:05 -0700
commitccaa8964a7c3cb6aec75e4c366e29524e8304abf (patch)
treead9f00fd87bfa265dc66216be1ef1c1d58b3709a
parent8bb9412ee0cfacc3df4d709875aed6919091dcf3 (diff)
downloadpackages_apps_Browser-ccaa8964a7c3cb6aec75e4c366e29524e8304abf.zip
packages_apps_Browser-ccaa8964a7c3cb6aec75e4c366e29524e8304abf.tar.gz
packages_apps_Browser-ccaa8964a7c3cb6aec75e4c366e29524e8304abf.tar.bz2
fix shortcut title
Bug: 3116759 Change-Id: I112c89f8200f5bc70e9f5204795bb6abd71dc586
-rw-r--r--src/com/android/browser/BrowserBookmarksPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/BrowserBookmarksPage.java b/src/com/android/browser/BrowserBookmarksPage.java
index fdd6c87..522d37e 100644
--- a/src/com/android/browser/BrowserBookmarksPage.java
+++ b/src/com/android/browser/BrowserBookmarksPage.java
@@ -477,7 +477,7 @@ public class BrowserBookmarksPage extends Fragment implements View.OnCreateConte
private Intent createShortcutIntent(int position) {
Cursor cursor = (Cursor) mAdapter.getItem(position);
String url = cursor.getString(BookmarksLoader.COLUMN_INDEX_URL);
- String title = cursor.getString(BookmarksLoader.COLUMN_INDEX_URL);
+ String title = cursor.getString(BookmarksLoader.COLUMN_INDEX_TITLE);
Bitmap touchIcon = getBitmap(cursor, BookmarksLoader.COLUMN_INDEX_TOUCH_ICON);
Bitmap favicon = getBitmap(cursor, BookmarksLoader.COLUMN_INDEX_FAVICON);
return BookmarkUtils.createAddToHomeIntent(getActivity(), url, title, touchIcon, favicon);