diff options
| -rw-r--r-- | api/current.txt | 1 | ||||
| -rw-r--r-- | api/system-current.txt | 1 | ||||
| -rw-r--r-- | core/java/android/provider/BlockedNumberContract.java | 8 |
3 files changed, 2 insertions, 8 deletions
diff --git a/api/current.txt b/api/current.txt index aefe20979a1c..449a4ce8cbb1 100644 --- a/api/current.txt +++ b/api/current.txt @@ -36861,6 +36861,7 @@ package android.provider { method @WorkerThread public static boolean isBlocked(android.content.Context, String); method @WorkerThread public static int unblock(android.content.Context, String); field public static final String AUTHORITY = "com.android.blockednumber"; + field public static final android.net.Uri AUTHORITY_URI; } public static class BlockedNumberContract.BlockedNumbers { diff --git a/api/system-current.txt b/api/system-current.txt index 1d5298df8547..7e23dc3b8995 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -6742,7 +6742,6 @@ package android.printservice.recommendation { package android.provider { public class BlockedNumberContract { - field @NonNull public static final android.net.Uri AUTHORITY_URI; field public static final String METHOD_NOTIFY_EMERGENCY_CONTACT = "notify_emergency_contact"; field public static final String METHOD_SHOULD_SYSTEM_BLOCK_NUMBER = "should_system_block_number"; field public static final String RES_BLOCK_STATUS = "block_status"; diff --git a/core/java/android/provider/BlockedNumberContract.java b/core/java/android/provider/BlockedNumberContract.java index 7995f2285482..1eb76648f7b2 100644 --- a/core/java/android/provider/BlockedNumberContract.java +++ b/core/java/android/provider/BlockedNumberContract.java @@ -16,7 +16,6 @@ package android.provider; import android.annotation.IntDef; -import android.annotation.NonNull; import android.annotation.SystemApi; import android.annotation.WorkerThread; import android.content.Context; @@ -155,12 +154,7 @@ public class BlockedNumberContract { /** The authority for the blocked number provider */ public static final String AUTHORITY = "com.android.blockednumber"; - /** - * A content:// style uri to the authority for the blocked number provider - * @hide - */ - @NonNull - @SystemApi + /** A content:// style uri to the authority for the blocked number provider */ public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY); private static final String LOG_TAG = BlockedNumberContract.class.getSimpleName(); |