summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/AddBookmarkPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/AddBookmarkPage.java')
-rw-r--r--src/com/android/browser/AddBookmarkPage.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/browser/AddBookmarkPage.java b/src/com/android/browser/AddBookmarkPage.java
index a3cd688..9070218 100644
--- a/src/com/android/browser/AddBookmarkPage.java
+++ b/src/com/android/browser/AddBookmarkPage.java
@@ -290,8 +290,9 @@ public class AddBookmarkPage extends Activity
@Override
public void onItemClick(AdapterView<?> parent, View view, int position,
long id) {
+ TextView tv = (TextView) view.findViewById(android.R.id.text1);
// Switch to the folder that was clicked on.
- descendInto(((TextView) view).getText().toString(), id);
+ descendInto(tv.getText().toString(), id);
}
/**