summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/blockreportspam/block_report_spam_dialog_info.proto
blob: a9a7c2aeb55f01573005f45d6673de990ae9cacb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
syntax = "proto2";

option java_package = "com.android.dialer.blockreportspam";
option java_multiple_files = true;


package com.android.dialer.blockreportspam;

import "java/com/android/dialer/logging/contact_source.proto";
import "java/com/android/dialer/logging/reporting_location.proto";

// Contains information needed in dialogs that allow a user to block a number
// and/or report it as spam/not spam.
// Next ID: 6
message BlockReportSpamDialogInfo {
  // A dialer-normalized version of the number used in the dialogs.
  // See DialerPhoneNumber#normalized_number.
  optional string normalized_number = 1;

  // The ISO 3166-1 two letters country code of the number.
  optional string country_iso = 2;

  // Type of the call to/from the number, as defined in
  // android.provider.CallLog.Calls
  optional int32 call_type = 3;

  // The location where the number is reported.
  optional com.android.dialer.logging.ReportingLocation.Type
      reporting_location = 4;

  // The source where contact info is associated with the number.
  optional com.android.dialer.logging.ContactSource.Type contact_source = 5;
}