From 41da94c501a420cb747d7afe3d3b7e30639ba281 Mon Sep 17 00:00:00 2001 From: linyuh Date: Mon, 7 May 2018 11:16:05 -0700 Subject: Implement EmergencyPhoneLookup for checking if a number is an emergency number. Bug: 71719349 Test: EmergencyPhoneLookupTest, PhoneLookupInfoConsolidatorTest PiperOrigin-RevId: 195691356 Change-Id: I705721fa6e6a22e5b2d541578b83196181c895eb --- .../android/dialer/calllog/database/contract/number_attributes.proto | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'java/com/android/dialer/calllog/database') diff --git a/java/com/android/dialer/calllog/database/contract/number_attributes.proto b/java/com/android/dialer/calllog/database/contract/number_attributes.proto index f42974d36..2c46d1b12 100644 --- a/java/com/android/dialer/calllog/database/contract/number_attributes.proto +++ b/java/com/android/dialer/calllog/database/contract/number_attributes.proto @@ -24,7 +24,7 @@ package com.android.dialer; import "java/com/android/dialer/logging/contact_source.proto"; // Information related to the phone number of the call. -// Next ID: 14 +// Next ID: 15 message NumberAttributes { // The name (which may be a person's name or business name, but not a number) // formatted exactly as it should appear to the user. If the user's locale or @@ -74,4 +74,7 @@ message NumberAttributes { // Description of the number's geolocation (e.g., "Mountain View, CA"). // This string is for display purpose only. optional string geolocation = 13; + + // Whether the number is an emergency number. + optional bool is_emergency_number = 14; } \ No newline at end of file -- cgit v1.2.3