diff options
Diffstat (limited to 'java/com/android/dialer/main/impl/toolbar/MainToolbarMenu.java')
-rw-r--r-- | java/com/android/dialer/main/impl/toolbar/MainToolbarMenu.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/java/com/android/dialer/main/impl/toolbar/MainToolbarMenu.java b/java/com/android/dialer/main/impl/toolbar/MainToolbarMenu.java index f4dfeef23..3c6e3611d 100644 --- a/java/com/android/dialer/main/impl/toolbar/MainToolbarMenu.java +++ b/java/com/android/dialer/main/impl/toolbar/MainToolbarMenu.java @@ -22,18 +22,15 @@ import android.view.Gravity; import android.view.View; /** Popup menu accessible from the search bar */ -final class MainToolbarMenu extends PopupMenu { +public final class MainToolbarMenu extends PopupMenu { public MainToolbarMenu(Context context, View anchor) { - super(context, anchor, Gravity.TOP); - // TODO(calderwoodra): menu should open from the top, not the bottom + super(context, anchor, Gravity.NO_GRAVITY, R.attr.actionOverflowMenuStyle, 0); } @Override public void show() { super.show(); - // TODO(calderwoodra): show/hide clear frequents - // TODO(calderwoodra): only show call history item if we have phone permission // TODO(calderwoodra): show simulator buttons } } |