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

Commit 4d871ba3 authored by youngtaecha's avatar youngtaecha Committed by Youngtae Cha
Browse files

Update provisioned condition for SatelliteAllowedState

Bug: 341371444
Test: Manually verified checking 'SatelliteSupported=true' and 'SatelliteProvisioned=true' to eanble 'requestIsCommunicationAllowedForCurrentLocation true'

Change-Id: I739c0820b923cd97907b83cb2df866197347d014
parent 888c31bc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -155,6 +155,7 @@ public class SatelliteController extends Handler {
    private static final boolean DEBUG = !"user".equals(Build.TYPE);
    /** File used to store shared preferences related to satellite. */
    public static final String SATELLITE_SHARED_PREF = "satellite_shared_pref";
    public static final String SATELLITE_SUBSCRIPTION_ID = "satellite_subscription_id";
    /** Value to pass for the setting key SATELLITE_MODE_ENABLED, enabled = 1, disabled = 0 */
    public static final int SATELLITE_MODE_ENABLED_TRUE = 1;
    public static final int SATELLITE_MODE_ENABLED_FALSE = 0;
@@ -1645,6 +1646,7 @@ public class SatelliteController extends Handler {
                /* We have already successfully queried the satellite modem. */
                Bundle bundle = new Bundle();
                bundle.putBoolean(SatelliteManager.KEY_SATELLITE_SUPPORTED, mIsSatelliteSupported);
                bundle.putInt(SATELLITE_SUBSCRIPTION_ID, subId);
                result.send(SATELLITE_RESULT_SUCCESS, bundle);
                return;
            }