Merge cherrypicks of ['googleplex-android-review.googlesource.com/28209936'] into 24Q3-release.

Change-Id: I6a9ddcdb5fa585ff88dce9b2408d87c0d3a199bf
This commit is contained in:
Android Build Coastguard Worker 2024-07-31 15:40:47 +00:00
commit 7b3ce8801e

View file

@ -2933,6 +2933,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.
*