Merge "[TelephonyMainline] Cannot remove AUTHORITY_URI from the public API."

This commit is contained in:
Zoey Chen
2019-12-05 03:49:33 +00:00
committed by Android (Google) Code Review
3 changed files with 2 additions and 8 deletions

View File

@@ -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 {

View File

@@ -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";

View File

@@ -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();