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

Commit 9dd5ee63 authored by Daniel Bright's avatar Daniel Bright
Browse files

Add feature flag android.hardware.telephony.data

This is a part of two other features that will use this feature flag.

Bug: 146206136
Test: Compiled
Change-Id: Iae1f759ada8925a055f9dbddf2d480d9c2d7616c
parent a66272a7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11925,6 +11925,7 @@ package android.content.pm {
    field public static final String FEATURE_STRONGBOX_KEYSTORE = "android.hardware.strongbox_keystore";
    field public static final String FEATURE_TELEPHONY = "android.hardware.telephony";
    field public static final String FEATURE_TELEPHONY_CDMA = "android.hardware.telephony.cdma";
    field public static final String FEATURE_TELEPHONY_DATA = "android.hardware.telephony.data";
    field public static final String FEATURE_TELEPHONY_EUICC = "android.hardware.telephony.euicc";
    field public static final String FEATURE_TELEPHONY_GSM = "android.hardware.telephony.gsm";
    field public static final String FEATURE_TELEPHONY_IMS = "android.hardware.telephony.ims";
+7 −0
Original line number Diff line number Diff line
@@ -2322,6 +2322,13 @@ public abstract class PackageManager {
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_TELEPHONY_GSM = "android.hardware.telephony.gsm";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}: The device
     * has a telephony radio that support data.
     */
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_TELEPHONY_DATA = "android.hardware.telephony.data";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}:
     * The device supports telephony carrier restriction mechanism.