Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8981ba9 authored by Kazuya Ohshiro's avatar Kazuya Ohshiro Committed by takeshi tanigawa
Browse files

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
parent 01c9c0e4
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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);
    }

    /**