OSDN Git Service

When displaying a bookmark item, only truncate the Strings that we display in the...
authorBen Murdoch <benm@google.com>
Wed, 28 Oct 2009 13:22:46 +0000 (13:22 +0000)
committerBen Murdoch <benm@google.com>
Wed, 28 Oct 2009 13:22:46 +0000 (13:22 +0000)
commit9907efcdb03d1e038b3923d6c58f907b1fda4c5e
tree375253279b74a4ae7000d2f975e245ae67d3f52b
parentae59c3f5a5b492f91d72e1d26702a13b91a43fa4
When displaying a bookmark item, only truncate the Strings that we display in the ListView rather than the ones used to index into the bookmarks database. This caused a crash when bookmarks had titles longer than the text view limit.

Fix for b/2219781

Change-Id: I4ea3cdfbaedce0dea6bd69f560aae9aea71ed7c1
src/com/android/browser/BookmarkItem.java
src/com/android/browser/BrowserBookmarksAdapter.java