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

Commit 4c7511ca authored by Masaho Nishikawa's avatar Masaho Nishikawa Committed by Jordan Liu
Browse files

Add config to show an alert dialog for video charges

Add config to show an alert dialog for video charges when user starts
a video call. The default value is false.

Test: manual - Verified that a warning dialog about charges when a
video call is started if KEY_SHOW_VIDEO_CALL_CHARGES_ALERT_DIALOG_BOOL
is true.

Bug: 67832837
Test: manual
Change-Id: I11ab3ea9a8971a9d76b47714638f1fe0a9c980c2
parent a12e18bc
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1568,6 +1568,14 @@ public class CarrierConfigManager {
    public static final String KEY_NOTIFY_INTERNATIONAL_CALL_ON_WFC_BOOL =
            "notify_international_call_on_wfc_bool";

    /**
     * Flag specifying whether to show an alert dialog for video call charges.
     * By default this value is {@code false}.
     * @hide
     */
    public static final String KEY_SHOW_VIDEO_CALL_CHARGES_ALERT_DIALOG_BOOL =
            "show_video_call_charges_alert_dialog_bool";

    /**
     * An array containing custom call forwarding number prefixes that will be blocked while the
     * device is reporting that it is roaming. By default, there are no custom call
@@ -2102,6 +2110,7 @@ public class CarrierConfigManager {
        sDefaults.putBoolean(KEY_DISPLAY_VOICEMAIL_NUMBER_AS_DEFAULT_CALL_FORWARDING_NUMBER_BOOL,
                false);
        sDefaults.putBoolean(KEY_NOTIFY_INTERNATIONAL_CALL_ON_WFC_BOOL, false);
        sDefaults.putBoolean(KEY_SHOW_VIDEO_CALL_CHARGES_ALERT_DIALOG_BOOL, false);
        sDefaults.putStringArray(KEY_CALL_FORWARDING_BLOCKS_WHILE_ROAMING_STRING_ARRAY,
                null);
        sDefaults.putInt(KEY_LTE_EARFCNS_RSRP_BOOST_INT, 0);