summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/AddNewBookmark.java
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:04 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:04 -0800
commitb7775e1e46a6c8ce0f07747d44c1b1792bb0ce1c (patch)
tree5955e8e4ec01ed58967626e02c703e40a10bd6a8 /src/com/android/browser/AddNewBookmark.java
parentd9effa543b8c81d48b8324aac00410b8c2a355a0 (diff)
downloadpackages_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.java6
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);
}
}