From 9d1ef8f39daeb4cfc511b6ba47298bc27019b7d0 Mon Sep 17 00:00:00 2001 From: linyuh Date: Mon, 7 May 2018 11:33:03 -0700 Subject: Use info from EmergencyPhoneLookup to render UI for an emergency number. Bug: 71719349 Test: CallLogEntryTextTest, HistoryItemActionModulesBuilderTest PiperOrigin-RevId: 195694340 Change-Id: Ib53305c36f7ca062ef798ab3f61585d3c71adef3 --- .../dialer/historyitemactions/history_item_action_module_info.proto | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'java/com/android/dialer/historyitemactions/history_item_action_module_info.proto') diff --git a/java/com/android/dialer/historyitemactions/history_item_action_module_info.proto b/java/com/android/dialer/historyitemactions/history_item_action_module_info.proto index 99071a7cd..f7022c28c 100644 --- a/java/com/android/dialer/historyitemactions/history_item_action_module_info.proto +++ b/java/com/android/dialer/historyitemactions/history_item_action_module_info.proto @@ -10,7 +10,7 @@ package com.android.dialer.historyitemactions; import "java/com/android/dialer/logging/contact_source.proto"; // Contains information needed to construct items (modules) in a bottom sheet. -// Next ID: 16 +// Next ID: 17 message HistoryItemActionModuleInfo { // The dialer-normalized version of a phone number. // See DialerPhoneNumber.normalized_number. @@ -66,4 +66,7 @@ message HistoryItemActionModuleInfo { VOICEMAIL = 2; } optional Host host = 15; + + // Whether the number is an emergency number. + optional bool is_emergency_number = 16; } -- cgit v1.2.3