From 2a2829a4af8afdec7e4b4f52a1a28ec8f14cbb2e Mon Sep 17 00:00:00 2001 From: Grace Jia Date: Thu, 26 Sep 2019 13:16:57 -0700 Subject: Added support for Calls.FEATURES_VOLTE in call log. Test: CTS test Bug: 141264508 Change-Id: Ia554be9e7150ea99c45ec011c166c1bcd87ddc9a --- api/current.txt | 1 + core/java/android/provider/CallLog.java | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/api/current.txt b/api/current.txt index 603dec283c66..188405559df0 100644 --- a/api/current.txt +++ b/api/current.txt @@ -37069,6 +37069,7 @@ package android.provider { field public static final int FEATURES_PULLED_EXTERNALLY = 2; // 0x2 field public static final int FEATURES_RTT = 32; // 0x20 field public static final int FEATURES_VIDEO = 1; // 0x1 + field public static final int FEATURES_VOLTE = 64; // 0x40 field public static final int FEATURES_WIFI = 8; // 0x8 field public static final String GEOCODED_LOCATION = "geocoded_location"; field public static final int INCOMING_TYPE = 1; // 0x1 diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java index 0973a6412384..1643a2137de0 100644 --- a/core/java/android/provider/CallLog.java +++ b/core/java/android/provider/CallLog.java @@ -38,11 +38,11 @@ import android.provider.ContactsContract.DataUsageFeedback; import android.telecom.PhoneAccount; import android.telecom.PhoneAccountHandle; import android.telecom.TelecomManager; +import android.telephony.CallerInfo; import android.telephony.PhoneNumberUtils; import android.text.TextUtils; import android.util.Log; -import android.telephony.CallerInfo; import com.android.internal.telephony.PhoneConstants; import java.util.List; @@ -234,6 +234,9 @@ public class CallLog { /** Call was on RTT at some point */ public static final int FEATURES_RTT = 1 << 5; + /** Call was VoLTE */ + public static final int FEATURES_VOLTE = 1 << 6; + /** * The phone number as the user entered it. *

Type: TEXT

-- cgit v1.2.3-59-g8ed1b