summaryrefslogtreecommitdiffstats
path: root/res/menu
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-06-09 15:59:47 -0700
committerAndrew Lee <anwlee@google.com>2015-06-10 15:32:06 -0700
commit2f05af35af03de67c1c474cd148719b24fac3552 (patch)
tree8fca74e40392668e3a545cfdf94c5310835dc51d /res/menu
parenta74ebca775f79f12354eaf335cb952ce246272fc (diff)
downloadpackages_apps_Dialer-2f05af35af03de67c1c474cd148719b24fac3552.tar.gz
packages_apps_Dialer-2f05af35af03de67c1c474cd148719b24fac3552.tar.bz2
packages_apps_Dialer-2f05af35af03de67c1c474cd148719b24fac3552.zip
Move "Report" to CallDetailActivity.
- Delete old report button/handling code. + Convert menu click listeners into single onMenuItemClick method. + Add and populate objectId on PhoneCallDetails, to be able to tell from the CallDetailActivity whether to enable reporting. Change-Id: Ie4b9a3c1835792cbba04dc826f71fd2e53071400
Diffstat (limited to 'res/menu')
-rw-r--r--res/menu/call_details_options.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/res/menu/call_details_options.xml b/res/menu/call_details_options.xml
index b98ec9ed6..f08b4facd 100644
--- a/res/menu/call_details_options.xml
+++ b/res/menu/call_details_options.xml
@@ -18,17 +18,17 @@
<item android:id="@+id/menu_trash"
android:icon="@drawable/ic_delete_24dp"
android:showAsAction="ifRoom"
- android:title="@string/recentCalls_trashVoicemail"
- android:onClick="onMenuTrashVoicemail" />
+ android:title="@string/recentCalls_trashVoicemail" />
<item android:id="@+id/menu_remove_from_call_log"
android:icon="@drawable/ic_delete_24dp"
android:showAsAction="ifRoom"
- android:title="@string/recentCalls_removeFromRecentList"
- android:onClick="onMenuRemoveFromCallLog" />
+ android:title="@string/recentCalls_removeFromRecentList" />
<item android:id="@+id/menu_edit_number_before_call"
- android:title="@string/recentCalls_editNumberBeforeCall"
- android:onClick="onMenuEditNumberBeforeCall" />
+ android:title="@string/recentCalls_editNumberBeforeCall" />
+
+ <item android:id="@+id/menu_report"
+ android:title="@string/call_detail_menu_report" />
</menu>