summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-03-26 18:26:32 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-26 18:27:09 +0000
commitb6fc8fb54e7027ca7a01e6b98a8edbe330f310d8 (patch)
treed3f80606aa47668b28d3b7b87c7a3063cd43bb02 /src
parent826185d6926f6087ccca191c50c62f47c6cc3c8a (diff)
parent467de3dc2be8fa6c815782852f47a752eb77a6dc (diff)
Merge "Make menu options protected instead of private."
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/DialtactsActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java
index 61aeed5b0..787b6fae4 100644
--- a/src/com/android/dialer/DialtactsActivity.java
+++ b/src/com/android/dialer/DialtactsActivity.java
@@ -238,7 +238,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
*/
private String mVoiceSearchQuery;
- private class OptionsPopupMenu extends PopupMenu {
+ protected class OptionsPopupMenu extends PopupMenu {
public OptionsPopupMenu(Context context, View anchor) {
super(context, anchor, Gravity.END);
}
@@ -808,7 +808,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
}
}
- private OptionsPopupMenu buildOptionsMenu(View invoker) {
+ protected OptionsPopupMenu buildOptionsMenu(View invoker) {
final OptionsPopupMenu popupMenu = new OptionsPopupMenu(this, invoker);
popupMenu.inflate(R.menu.dialtacts_options);
final Menu menu = popupMenu.getMenu();