resolve merge conflicts of 95f8ca9f74 to stage-aosp-master
Bug: None Test: I solemnly swear I tested this conflict resolution. Merged-In: I7fc1162d2c63df8751a4660607e8ce72070efed8 Change-Id: I0e5a5d8fda273644e8c592ce7d059e508870085e
This commit is contained in:
@@ -20,6 +20,7 @@ import static android.graphics.BitmapFactory.Options.validate;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.UnsupportedAppUsage;
|
||||
import android.content.res.AssetManager;
|
||||
import android.content.res.Resources;
|
||||
import android.os.Trace;
|
||||
@@ -831,11 +832,15 @@ public class BitmapFactory {
|
||||
return decodeFileDescriptor(fd, null, null);
|
||||
}
|
||||
|
||||
@UnsupportedAppUsage
|
||||
private static native Bitmap nativeDecodeStream(InputStream is, byte[] storage,
|
||||
Rect padding, Options opts);
|
||||
@UnsupportedAppUsage
|
||||
private static native Bitmap nativeDecodeFileDescriptor(FileDescriptor fd,
|
||||
Rect padding, Options opts);
|
||||
@UnsupportedAppUsage
|
||||
private static native Bitmap nativeDecodeAsset(long nativeAsset, Rect padding, Options opts);
|
||||
@UnsupportedAppUsage
|
||||
private static native Bitmap nativeDecodeByteArray(byte[] data, int offset,
|
||||
int length, Options opts);
|
||||
private static native boolean nativeIsSeekable(FileDescriptor fd);
|
||||
|
||||
Reference in New Issue
Block a user