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

Commit 977ccc3d authored by Tyler Gunn's avatar Tyler Gunn Committed by Android (Google) Code Review
Browse files

Merge "Add new carrier config key for calls answered elsewhere." into main

parents 6b1e5557 983e4d8d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -45605,6 +45605,7 @@ package android.telephony {
    field public static final String KEY_INCLUDE_LTE_FOR_NR_ADVANCED_THRESHOLD_BANDWIDTH_BOOL = "include_lte_for_nr_advanced_threshold_bandwidth_bool";
    field public static final String KEY_IS_IMS_CONFERENCE_SIZE_ENFORCED_BOOL = "is_ims_conference_size_enforced_bool";
    field public static final String KEY_IS_OPPORTUNISTIC_SUBSCRIPTION_BOOL = "is_opportunistic_subscription_bool";
    field @FlaggedApi("com.android.internal.telephony.flags.log_calls_answered_elsewhere") public static final String KEY_LOG_CALLS_ANSWERED_ELSEWHERE_BOOL = "log_calls_answered_elsewhere_bool";
    field public static final String KEY_LTE_ENABLED_BOOL = "lte_enabled_bool";
    field public static final String KEY_LTE_RSRQ_THRESHOLDS_INT_ARRAY = "lte_rsrq_thresholds_int_array";
    field public static final String KEY_LTE_RSSNR_THRESHOLDS_INT_ARRAY = "lte_rssnr_thresholds_int_array";
+15 −0
Original line number Diff line number Diff line
@@ -458,6 +458,20 @@ public class CarrierConfigManager {
    public static final String KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL =
            "allow_emergency_numbers_in_call_log_bool";
    /**
     * Flag indicating whether to log calls which were answered on another device.
     * <p>
     * If {@code true}, calls which are disconnected with
     * {@link android.telecom.DisconnectCause#ANSWERED_ELSEWHERE} will be added to the call
     * log.
     * <p>
     * If {@code false}, these calls will not be added to the call log.
     * The default value is {@code true}.
     */
    @FlaggedApi(Flags.FLAG_LOG_CALLS_ANSWERED_ELSEWHERE)
    public static final String KEY_LOG_CALLS_ANSWERED_ELSEWHERE_BOOL =
            "log_calls_answered_elsewhere_bool";
    /**
     * A string array containing numbers that shouldn't be included in the call log.
     */
@@ -10934,6 +10948,7 @@ public class CarrierConfigManager {
        sDefaults.putBoolean(KEY_AUTO_RETRY_FAILED_WIFI_EMERGENCY_CALL, false);
        sDefaults.putBoolean(KEY_ADDITIONAL_CALL_SETTING_BOOL, true);
        sDefaults.putBoolean(KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL, false);
        sDefaults.putBoolean(KEY_LOG_CALLS_ANSWERED_ELSEWHERE_BOOL, true);
        sDefaults.putStringArray(KEY_UNLOGGABLE_NUMBERS_STRING_ARRAY, null);
        sDefaults.putBoolean(KEY_ALLOW_LOCAL_DTMF_TONES_BOOL, true);
        sDefaults.putBoolean(KEY_PLAY_CALL_RECORDING_TONE_BOOL, false);