diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-01-04 23:42:46 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-01-04 23:42:46 +0000 |
commit | 27187c061ef64d1877f0e16a9bc1167b97e926a3 (patch) | |
tree | 31fc6a6893a0e0e99480e37c2538c7622a0a2aca /java/com/android | |
parent | 8f0dae47aa4a3a4c1084fc27b765ae8d6c43e43e (diff) | |
parent | 640e4181a6efb0f659853db45eac55dd44be2bc5 (diff) |
Merge "Set flag 'canReportAsInvalidNumber' in CallDetailsActivity's intent when it's launched from the new call log."
Diffstat (limited to 'java/com/android')
-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)); |