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

Commit 34e61996 authored by Hall Liu's avatar Hall Liu
Browse files

Disable APN lockdown for apps targeting pre-R

Allow apps targeting pre-R to access the APN db without permissions

Bug: 148552357
Test: manual
Change-Id: I47d142e9984b932f030c29729b9ebcd75c51d26f
parent 3201a3aa
Loading
Loading
Loading
Loading
+2 −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.compat.annotation.ChangeId;
import android.compat.annotation.EnabledAfter;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.ComponentName;
import android.content.ContentResolver;
@@ -4036,6 +4037,7 @@ public final class Telephony {
         * @hide
         */
        @ChangeId
        @EnabledAfter(targetSdkVersion = android.os.Build.VERSION_CODES.Q)
        public static final long APN_READING_PERMISSION_CHANGE_ID = 124107808L;
    }