Merge "[TelephonyMainline] Cannot remove AUTHORITY_URI from the public API."
This commit is contained in:
@@ -36874,6 +36874,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 {
|
||||
|
||||
@@ -6830,7 +6830,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";
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user