From 1f68a6a489db554abafa947854cdc1f6cf80f9ca Mon Sep 17 00:00:00 2001 From: Eric Erfanian Date: Mon, 26 Feb 2018 08:21:09 -0800 Subject: [PATCH] Update the RTT features constant. The effect of this change is to properly set the RTT constant to 32. Merged-In: I828788e8d950687149d9094d0631171e2fd7212f Bug: 63934304 Test: TreeHugger Change-Id: I2557fbc617c003abdd429fa7d5ed237d895b2dc5 --- api/current.txt | 2 +- core/java/android/provider/CallLog.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/current.txt b/api/current.txt index 8df028cd9c4c..46b73327ad65 100644 --- a/api/current.txt +++ b/api/current.txt @@ -33430,7 +33430,7 @@ package android.provider { field public static final java.lang.String FEATURES = "features"; field public static final int FEATURES_HD_CALL = 4; // 0x4 field public static final int FEATURES_PULLED_EXTERNALLY = 2; // 0x2 - field public static final int FEATURES_RTT = 16; // 0x10 + field public static final int FEATURES_RTT = 32; // 0x20 field public static final int FEATURES_VIDEO = 1; // 0x1 field public static final int FEATURES_WIFI = 8; // 0x8 field public static final java.lang.String GEOCODED_LOCATION = "geocoded_location"; diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java index 60df467bc20f..70de09ebe85f 100644 --- a/core/java/android/provider/CallLog.java +++ b/core/java/android/provider/CallLog.java @@ -223,14 +223,14 @@ public class CallLog { /** Call was WIFI call. */ public static final int FEATURES_WIFI = 1 << 3; - /** Call was on RTT at some point */ - public static final int FEATURES_RTT = 1 << 4; - /** * Indicates the call underwent Assisted Dialing. * @hide */ - public static final Integer FEATURES_ASSISTED_DIALING_USED = 0x10; + public static final int FEATURES_ASSISTED_DIALING_USED = 1 << 4; + + /** Call was on RTT at some point */ + public static final int FEATURES_RTT = 1 << 5; /** * The phone number as the user entered it. -- 2.11.0