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

Commit 4ad7b4d7 authored by Hakjun Choi's avatar Hakjun Choi Committed by Android (Google) Code Review
Browse files

Merge "Create a device config indicates whether to send message in demo mode or not" into main

parents b393caaa b3fa0230
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -205,6 +205,13 @@
    <string name="config_satellite_emergency_handover_intent_action" translatable="false"></string>
    <java-symbol type="string" name="config_satellite_emergency_handover_intent_action" />

    <!-- Whether outgoing satellite datagrams should be sent to modem in demo mode. When satellite
         is enabled for demo mode, if this config is enabled, outgoing datagrams will be sent to
         modem; otherwise, success results will be returned. If demo mode is disabled, outgoing
         datagrams are always sent to modem. -->
    <bool name="config_send_satellite_datagram_to_modem_in_demo_mode">false</bool>
    <java-symbol type="bool" name="config_send_satellite_datagram_to_modem_in_demo_mode" />

    <!-- Whether enhanced IWLAN handover check is enabled. If enabled, telephony frameworks
         will not perform handover if the target transport is out of service, or VoPS not
         supported. The network will be torn down on the source transport, and will be
+12 −0
Original line number Diff line number Diff line
@@ -3147,4 +3147,16 @@ interface ITelephony {
            + "android.Manifest.permission.SATELLITE_COMMUNICATION)")
    void unregisterForSatelliteCapabilitiesChanged(int subId,
            in ISatelliteCapabilitiesCallback callback);

    /**
     * This API can be used by only CTS to override the cached value for the device overlay config
     * value : config_send_satellite_datagram_to_modem_in_demo_mode, which determines whether
     * outgoing satellite datagrams should be sent to modem in demo mode.
     *
     * @param shouldSendToDemoMode Whether send datagram in demo mode should be sent to satellite
     * modem or not.
     *
     * @return {@code true} if the operation is successful, {@code false} otherwise.
     */
    boolean setShouldSendDatagramToModemInDemoMode(boolean shouldSendToModemInDemoMode);
}