Revert "Make createSource(ContentResolver, Uri, Resources) a SystemApi"

Bug: 152322291
Bug: 172934376
Test: make

This reverts commit 97eacc36a3.

Reason for revert: The UI Rendering mainline module is on hold for
now, so this does not need to be @SystemApi. The system can still
access it through @hide.

Change-Id: I0f4d685d62cf468a3fd9a7e664bcc46569e94591
This commit is contained in:
Leon Scroggins
2020-11-10 19:35:34 +00:00
committed by Leon Scroggins III
parent cef78df671
commit 99b7556cb2
2 changed files with 0 additions and 9 deletions

View File

@@ -48,10 +48,6 @@ package android.graphics {
method public static void setTargetSdkVersion(int);
}
public final class ImageDecoder implements java.lang.AutoCloseable {
method @AnyThread @NonNull public static android.graphics.ImageDecoder.Source createSource(@NonNull android.content.ContentResolver, @NonNull android.net.Uri, @Nullable android.content.res.Resources);
}
}
package android.media {

View File

@@ -27,7 +27,6 @@ import android.annotation.IntRange;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.Px;
import android.annotation.SystemApi;
import android.annotation.TestApi;
import android.annotation.WorkerThread;
import android.content.ContentResolver;
@@ -916,12 +915,8 @@ public final class ImageDecoder implements AutoCloseable {
/**
* Provide Resources for density scaling.
*
* This is a SystemApi to enable legacy behavior, so there is no need to
* make it public like the version above, which does not have a Resources
* parameter.
* @hide
*/
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
@AnyThread
@NonNull
public static Source createSource(@NonNull ContentResolver cr,