summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/oem
diff options
context:
space:
mode:
authorwangqi <wangqi@google.com>2017-10-31 14:24:51 -0700
committerzachh <zachh@google.com>2017-11-03 04:38:30 +0000
commit008e6fd718d89fde2ca59249613a0534b2828504 (patch)
tree5c33c66b04e939727fd37b9436b70bc443a440df /java/com/android/dialer/oem
parent6eec20f5c5a56177f050b1490e2ba198748c0fd4 (diff)
Show HD icon in call logs.
This change removes restriction of showing HD icon only for some Motorola devices. After this change, any devices writing android.provider.CallLog.Calls.FEATURES_HD_CALL into call logs' feature will be able to show HD icon. To be able to write HD features into call logs, both CarrierConfigManager#KEY_DISPLAY_HD_AUDIO_PROPERTY_BOOL and CarrierConfigManager#KEY_IDENTIFY_HIGH_DEFINITION_CALLS_IN_CALL_LOG_BOOL must be enabled. It's part of upstream change to enable HD icon in call logs: https://android-review.googlesource.com/#/q/topic:hd_icon_call_log Bug: 68108125 Test: none PiperOrigin-RevId: 174091763 Change-Id: I17c62153ebbc866c91acdaa7a7fcbd124594772b
Diffstat (limited to 'java/com/android/dialer/oem')
-rw-r--r--java/com/android/dialer/oem/MotorolaUtils.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/java/com/android/dialer/oem/MotorolaUtils.java b/java/com/android/dialer/oem/MotorolaUtils.java
index a2757d3ce..5a0800eeb 100644
--- a/java/com/android/dialer/oem/MotorolaUtils.java
+++ b/java/com/android/dialer/oem/MotorolaUtils.java
@@ -32,8 +32,6 @@ public class MotorolaUtils {
"hd_codec_blinking_icon_when_connecting_enabled";
private static final String CONFIG_HD_CODEC_SHOW_ICON_IN_NOTIFICATION_ENABLED =
"hd_codec_show_icon_in_notification_enabled";
- private static final String CONFIG_HD_CODEC_SHOW_ICON_IN_CALL_LOG_ENABLED =
- "hd_codec_show_icon_in_call_log_enabled";
private static final String CONFIG_WIFI_CALL_SHOW_ICON_IN_CALL_LOG_ENABLED =
"wifi_call_show_icon_in_call_log_enabled";
@@ -80,13 +78,6 @@ public class MotorolaUtils {
&& isSupportingSprintHdCodec(context);
}
- public static boolean shouldShowHdIconInCallLog(Context context, int features) {
- return ConfigProviderBindings.get(context)
- .getBoolean(CONFIG_HD_CODEC_SHOW_ICON_IN_CALL_LOG_ENABLED, true)
- && (features & Calls.FEATURES_HD_CALL) == Calls.FEATURES_HD_CALL
- && isSupportingSprintHdCodec(context);
- }
-
public static boolean shouldShowWifiIconInCallLog(Context context, int features) {
return ConfigProviderBindings.get(context)
.getBoolean(CONFIG_WIFI_CALL_SHOW_ICON_IN_CALL_LOG_ENABLED, true)