summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2019-11-25 00:23:58 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-11-25 00:23:58 +0000
commitbc56ea3551814da5617d2a4eccc833f30af325f5 (patch)
treec836dbcc549ccedcb0af24d39da9b2701b438399
parent5df37b4e9b9d4950e19ee720322acf3a091ab04b (diff)
parent68a00bcf3deb11a9e5508821c72eedf1ccc214a5 (diff)
Merge "Add change ID for platform compat"
-rw-r--r--telephony/java/android/provider/Telephony.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/telephony/java/android/provider/Telephony.java b/telephony/java/android/provider/Telephony.java
index add03160bbe9..7ed37c4b828c 100644
--- a/telephony/java/android/provider/Telephony.java
+++ b/telephony/java/android/provider/Telephony.java
@@ -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;
}
/**