summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-11-08 10:08:40 -0500
committerLeon Scroggins <scroggo@google.com>2010-11-08 10:08:40 -0500
commit26318a1383d4bbe6dc210a964354bf42d1ef4776 (patch)
tree8704737a8601e118a774a35adfae9896edf84ab1 /src
parent5ba8da4dc38036f626deda8d0588a2f4694f3cad (diff)
downloadpackages_apps_Browser-26318a1383d4bbe6dc210a964354bf42d1ef4776.zip
packages_apps_Browser-26318a1383d4bbe6dc210a964354bf42d1ef4776.tar.gz
packages_apps_Browser-26318a1383d4bbe6dc210a964354bf42d1ef4776.tar.bz2
Use the correct anchor for the dropdown menu.
Bug:2953515 Now that b/3067895 has been fixed, we can put the dropdown in the desired location. Change-Id: Iec4967ce32113a4d60efd120af6d61cc0fd3181b
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/AddBookmarkPage.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/browser/AddBookmarkPage.java b/src/com/android/browser/AddBookmarkPage.java
index 1292bf6..f8957c9 100644
--- a/src/com/android/browser/AddBookmarkPage.java
+++ b/src/com/android/browser/AddBookmarkPage.java
@@ -229,10 +229,7 @@ public class AddBookmarkPage extends Activity
finish();
}
} else if (v == mFolder) {
- // FIXME: We want to use mFolder as an anchor, but cannot until we
- // fix the issue that the PopupMenu will not extend past the edge of
- // the dialog.
- PopupMenu popup = new PopupMenu(this, mFakeTitle);
+ PopupMenu popup = new PopupMenu(this, mFolder);
popup.getMenuInflater().inflate(R.menu.folder_choice,
popup.getMenu());
popup.setOnMenuItemClickListener(this);