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
This commit is contained in:
Hall Liu
2019-11-21 16:35:37 -08:00
parent 3229fa0e14
commit 68a00bcf3d

View File

@@ -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;
}
/**