Remove UnsupportedAppUsage from ImageDecoder
Bug: 152322291 Test: none go/nonsdk-dash shows no usage of postProcessAndRelease, so remove the annotation. Change-Id: I7c7b91bd58c30f901f98a11c9688beb0fcd7db91
This commit is contained in:
@@ -29,7 +29,6 @@ import android.annotation.Nullable;
|
||||
import android.annotation.Px;
|
||||
import android.annotation.TestApi;
|
||||
import android.annotation.WorkerThread;
|
||||
import android.compat.annotation.UnsupportedAppUsage;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.res.AssetFileDescriptor;
|
||||
import android.content.res.AssetManager;
|
||||
@@ -1960,7 +1959,6 @@ public final class ImageDecoder implements AutoCloseable {
|
||||
* Private method called by JNI.
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
@UnsupportedAppUsage
|
||||
private int postProcessAndRelease(@NonNull Canvas canvas) {
|
||||
try {
|
||||
return mPostProcessor.onPostProcess(canvas);
|
||||
|
||||
Reference in New Issue
Block a user