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

Commit 44c73439 authored by joonhunshin's avatar joonhunshin Committed by Joonhun Shin
Browse files

Define ChangedId for App compatibility

This ENABLE_FEATURE_MAPPING involves multiple separate CLs, so apply it separately.

Bug: 297989574
Test: build pass
Change-Id: I0ba37e8606734673892ec5047be1132a8c5297b9
parent eb629994
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ import android.app.role.RoleManager;
import android.compat.Compatibility;
import android.compat.annotation.ChangeId;
import android.compat.annotation.EnabledAfter;
import android.compat.annotation.EnabledSince;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.ComponentName;
import android.content.Context;
@@ -420,6 +421,14 @@ public class TelephonyManager {
    /** @hide */
    public static final String PROPERTY_ENABLE_NULL_CIPHER_TOGGLE = "enable_null_cipher_toggle";
    /**
     * To apply the enforcement telephony feature and API
     * @hide
     */
    @ChangeId
    @EnabledSince(targetSdkVersion = Build.VERSION_CODES.VANILLA_ICE_CREAM)
    public static final long ENABLE_FEATURE_MAPPING = 297989574L;
    private final Context mContext;
    private final int mSubId;
    @UnsupportedAppUsage