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

Commit 68a00bcf authored by Hall Liu's avatar Hall Liu
Browse files

Add change ID for platform compat

Add definition of the change ID for the APN permissions change for
platform compat.

Bug: 144631034
Test: compiles
Change-Id: I6388418453ddec5b4ff45efebd81ffabd62b64ba
parent 3229fa0e
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ import android.annotation.SdkConstant.SdkConstantType;
import android.annotation.SystemApi;
import android.annotation.TestApi;
import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.ChangeId;
import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.ContentValues;
@@ -4033,6 +4034,16 @@ public final class Telephony {
        @Retention(RetentionPolicy.SOURCE)
        public @interface Skip464XlatStatus {}

        /**
         * Compat framework change ID for the APN db read permission change.
         *
         * In API level 30 and beyond, accessing the APN database will require the
         * {@link android.Manifest.permission#WRITE_APN_SETTINGS} permission. This change ID tracks
         * apps that are affected because they don't hold this permission.
         * @hide
         */
        @ChangeId
        public static final long APN_READING_PERMISSION_CHANGE_ID = 124107808L;
    }

    /**