Display the HD icon in the Call Log

Added a new config that indicating the flag to determines
if the current call should allow the high definition audio
information to be logged in the Call Log.

Test: manual - Verified that the HD icon is displayed in the Call Log
if a codec for HD had been used during a call.
Bug: 68108125

Change-Id: Id0d52f9aa018eeebe5bc42973760331b47d5c822
This commit is contained in:
Kazuya Ohshiro
2017-10-27 16:26:15 +09:00
committed by takeshi tanigawa
parent 01c9c0e4ba
commit b8981ba99e

View File

@@ -1600,6 +1600,13 @@ public class CarrierConfigManager {
public static final String KEY_FEATURE_ACCESS_CODES_STRING_ARRAY =
"feature_access_codes_string_array";
/**
* Determines if the carrier wants to identify high definition calls in the call log.
* @hide
*/
public static final String KEY_IDENTIFY_HIGH_DEFINITION_CALLS_IN_CALL_LOG_BOOL =
"identify_high_definition_calls_in_call_log_bool";
/** The default value for every variable. */
private final static PersistableBundle sDefaults;
@@ -1872,6 +1879,7 @@ public class CarrierConfigManager {
sDefaults.putBoolean(KEY_SHOW_IMS_REGISTRATION_STATUS_BOOL, false);
sDefaults.putBoolean(KEY_DISABLE_CHARGE_INDICATION_BOOL, false);
sDefaults.putStringArray(KEY_FEATURE_ACCESS_CODES_STRING_ARRAY, null);
sDefaults.putBoolean(KEY_IDENTIFY_HIGH_DEFINITION_CALLS_IN_CALL_LOG_BOOL, false);
}
/**