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

Commit 34db3634 authored by Joonhun Shin's avatar Joonhun Shin Committed by Android (Google) Code Review
Browse files

Merge "Add public method to retrun whether the satellite request is for an...

Merge "Add public method to retrun whether the satellite request is for an emergency or not" into main
parents e1bbf792 2b315c18
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -3030,6 +3030,20 @@ public class SatelliteController extends Handler {
        }
    }

    /**
     * Return whether the satellite request is for an emergency or not.
     *
     * @return {@code true} if the satellite request is for an emergency and
     *                      {@code false} otherwise.
     */
    public boolean getRequestIsEmergency() {
        if (mFeatureFlags.carrierRoamingNbIotNtn()) {
            return mIsEmergency;
        }

        return false;
    }

    /**
     * Return capabilities of carrier roaming satellite network.
     *