diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:04 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:04 -0800 |
commit | b7775e1e46a6c8ce0f07747d44c1b1792bb0ce1c (patch) | |
tree | 5955e8e4ec01ed58967626e02c703e40a10bd6a8 /src/com/android/browser/AddNewBookmark.java | |
parent | d9effa543b8c81d48b8324aac00410b8c2a355a0 (diff) | |
download | packages_apps_Browser-b7775e1e46a6c8ce0f07747d44c1b1792bb0ce1c.zip packages_apps_Browser-b7775e1e46a6c8ce0f07747d44c1b1792bb0ce1c.tar.gz packages_apps_Browser-b7775e1e46a6c8ce0f07747d44c1b1792bb0ce1c.tar.bz2 |
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'src/com/android/browser/AddNewBookmark.java')
-rw-r--r-- | src/com/android/browser/AddNewBookmark.java | 6 |
1 files changed, 1 insertions, 5 deletions
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); } } |