diff options
Diffstat (limited to 'java/com/android/dialer/calllog/ui/menu/Modules.java')
-rw-r--r-- | java/com/android/dialer/calllog/ui/menu/Modules.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/java/com/android/dialer/calllog/ui/menu/Modules.java b/java/com/android/dialer/calllog/ui/menu/Modules.java index 50da2fcaf..d62cc2082 100644 --- a/java/com/android/dialer/calllog/ui/menu/Modules.java +++ b/java/com/android/dialer/calllog/ui/menu/Modules.java @@ -96,9 +96,7 @@ final class Modules { private static void addModuleForAccessingCallDetails( Context context, List<ContactActionModule> modules, CoalescedRow row) { - // TODO(zachh): Load canReportInaccurateNumber in CallDetailsActivity - // (see also isPeopleApiSource(sourceType)). - boolean canReportInaccurateNumber = false; + boolean canReportAsInvalidNumber = row.canReportAsInvalidNumber(); boolean canSupportAssistedDialing = !TextUtils.isEmpty(row.lookupUri()); modules.add( @@ -108,7 +106,7 @@ final class Modules { context, row.coalescedIds(), createDialerContactFromRow(row), - canReportInaccurateNumber, + canReportAsInvalidNumber, canSupportAssistedDialing), R.string.call_details_menu_label, R.drawable.quantum_ic_info_outline_vd_theme_24)); |