diff options
author | Leon Scroggins <scroggo@google.com> | 2010-11-08 10:08:40 -0500 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2010-11-08 10:08:40 -0500 |
commit | 26318a1383d4bbe6dc210a964354bf42d1ef4776 (patch) | |
tree | 8704737a8601e118a774a35adfae9896edf84ab1 /src | |
parent | 5ba8da4dc38036f626deda8d0588a2f4694f3cad (diff) | |
download | packages_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.java | 5 |
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); |