From b7775e1e46a6c8ce0f07747d44c1b1792bb0ce1c Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 10 Feb 2009 15:44:04 -0800 Subject: auto import from //branches/cupcake/...@130745 --- src/com/android/browser/AddNewBookmark.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/com/android/browser/AddNewBookmark.java') diff --git a/src/com/android/browser/AddNewBookmark.java b/src/com/android/browser/AddNewBookmark.java index 748c9c2..a75d002 100644 --- a/src/com/android/browser/AddNewBookmark.java +++ b/src/com/android/browser/AddNewBookmark.java @@ -63,10 +63,6 @@ class AddNewBookmark extends LinearLayout { * @param url The new url for the bookmark item. */ /* package */ void setUrl(String url) { - if (url.length() > BrowserSettings.MAX_TEXTVIEW_LEN) { - mUrlText.setText(url.substring(0, BrowserSettings.MAX_TEXTVIEW_LEN)); - } else { - mUrlText.setText(url); - } + mUrlText.setText(url); } } -- cgit v1.1