Hide cloud provider APIs until ready for release.
We do not hide these in master, only in sc-mainline-prod.
Test: atest
Bug: 202733511
Merged-In: I4e202a15572083a06a75a31c80c4ed9824f7ba3f
Change-Id: I2697f0bd12e555f05ed2774bef8cfc2cc7e53f72
diff --git a/apex/framework/api/current.txt b/apex/framework/api/current.txt
index 187da31..0a53fb5 100644
--- a/apex/framework/api/current.txt
+++ b/apex/framework/api/current.txt
@@ -8,7 +8,6 @@
method @NonNull public static android.app.PendingIntent createFavoriteRequest(@NonNull android.content.ContentResolver, @NonNull java.util.Collection<android.net.Uri>, boolean);
method @NonNull public static android.app.PendingIntent createTrashRequest(@NonNull android.content.ContentResolver, @NonNull java.util.Collection<android.net.Uri>, boolean);
method @NonNull public static android.app.PendingIntent createWriteRequest(@NonNull android.content.ContentResolver, @NonNull java.util.Collection<android.net.Uri>);
- method @Nullable public static String getCloudProvider(@NonNull android.content.ContentResolver);
method @Nullable public static android.net.Uri getDocumentUri(@NonNull android.content.Context, @NonNull android.net.Uri);
method @NonNull public static java.util.Set<java.lang.String> getExternalVolumeNames(@NonNull android.content.Context);
method public static long getGeneration(@NonNull android.content.Context, @NonNull String);
@@ -23,7 +22,6 @@
method @NonNull public static String getVersion(@NonNull android.content.Context, @NonNull String);
method @NonNull public static String getVolumeName(@NonNull android.net.Uri);
method public static boolean isCurrentSystemGallery(@NonNull android.content.ContentResolver, int, @NonNull String);
- method public static boolean notifyCloudEvent(@NonNull android.content.ContentResolver);
method @Deprecated @NonNull public static android.net.Uri setIncludePending(@NonNull android.net.Uri);
method @NonNull public static android.net.Uri setRequireOriginal(@NonNull android.net.Uri);
field public static final String ACTION_IMAGE_CAPTURE = "android.media.action.IMAGE_CAPTURE";
diff --git a/apex/framework/java/android/provider/MediaStore.java b/apex/framework/java/android/provider/MediaStore.java
index 8a8a811..39df119 100644
--- a/apex/framework/java/android/provider/MediaStore.java
+++ b/apex/framework/java/android/provider/MediaStore.java
@@ -4579,6 +4579,8 @@
* enabled.
*
* See android.provider.CloudMediaProvider
+ *
+ * @hide
*/
// TODO(b/202733511): Convert See to @see tag after CloudMediaProvider API is unhidden
@Nullable
@@ -4600,6 +4602,8 @@
* {@link #getCloudProvider(ContentResolver)}, the request will be unsuccessful.
*
* @return {@code true} if the notification was successful, {@code false} otherwise
+ *
+ * @hide
*/
public static boolean notifyCloudEvent(@NonNull ContentResolver resolver) {
Objects.requireNonNull(resolver);