Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42ad5dda authored by linyuh's avatar linyuh Committed by Copybara-Service
Browse files

Don't allow reporting a inaccurate number for a voicemail call.

Bug: 78291768
Test: ModulesTest
PiperOrigin-RevId: 194114862
Change-Id: Iee367be53ffff5226a818ebb4af69ddd55054812
parent 4f60ea7b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -184,7 +184,8 @@ final class Modules {

  private static HistoryItemActionModule createModuleForAccessingCallDetails(
      Context context, CoalescedRow row) {
    boolean canReportAsInvalidNumber = row.getNumberAttributes().getCanReportAsInvalidNumber();
    boolean canReportAsInvalidNumber =
        !row.getIsVoicemailCall() && row.getNumberAttributes().getCanReportAsInvalidNumber();

    return new IntentModule(
        context,