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

Commit b274501b authored by Thomas Nguyen's avatar Thomas Nguyen
Browse files

Add FEATURE_TELEPHONY_SATELLITE to PackageManager

Bug: 266031537
Test: atest android.app.cts.SystemFeaturesTest#testFeatureNamespaces

Change-Id: I110fe735b206228ad7ac7ea0f69513f53f0d0205
parent 33561629
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -3472,6 +3472,18 @@ public abstract class PackageManager {
    public static final String FEATURE_TELEPHONY_RADIO_ACCESS =
    public static final String FEATURE_TELEPHONY_RADIO_ACCESS =
            "android.hardware.telephony.radio.access";
            "android.hardware.telephony.radio.access";


    /**
     * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}:
     * The device supports Telephony APIs for Satellite communication.
     *
     * <p>This feature should only be defined if {@link #FEATURE_TELEPHONY_MESSAGING}
     * has been defined.
     *
     * @hide
     */
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_TELEPHONY_SATELLITE = "android.hardware.telephony.satellite";

    /**
    /**
     * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}:
     * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}:
     * The device supports Telephony APIs for the subscription.
     * The device supports Telephony APIs for the subscription.