1syntax = "proto2"; 2 3option java_package = "com.android.dialer.glidephotomanager"; 4option java_multiple_files = true; 5 6 7package com.android.dialer.glidephotomanager; 8 9// Contains information associated with a number, which is used to create the 10// photo. 11// Next ID: 13 12message PhotoInfo { 13 // The display name of the number. 14 optional string name = 1; 15 16 // The number presented to the user. 17 optional string formatted_number = 2; 18 19 // The URI of the photo. 20 optional string photo_uri = 3; 21 22 // Value of android.provider.ContactsContract.CommonDataKinds.Photo#_ID 23 optional int64 photo_id = 4; 24 25 // The Contacts Provider lookup URI for the contact associated with the 26 // number. 27 optional string lookup_uri = 5; 28 29 // Whether a business icon should be displayed. 30 optional bool is_business = 6; 31 32 // Whether a voicemail icon should be displayed. 33 optional bool is_voicemail = 7; 34 35 // Whether a "blocked" icon should be displayed. 36 optional bool is_blocked = 8; 37 38 // Whether a "spam" icon should be displayed. 39 optional bool is_spam = 9; 40 41 // Whether the photo should be badged as video call. 42 optional bool is_video = 10; 43 44 // Whether the photo should be badged as RTT call. 45 optional bool is_rtt = 11; 46 47 // Whether to show conference call icon instead of contact icon. 48 optional bool is_conference = 12; 49} 50