Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce56f3d5 authored by Leon Scroggins's avatar Leon Scroggins Committed by Android (Google) Code Review
Browse files

Merge "Make ImageDecoder#getSampledSize private"

parents 9298f58c f00b5a58
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1072,11 +1072,9 @@ public final class ImageDecoder implements AutoCloseable {
     *  @param sampleSize Sampling rate of the encoded image.
     *  @return {@link android.util.Size} of the width and height after
     *      sampling.
     *
     *  @hide
     */
    @NonNull
    public Size getSampledSize(int sampleSize) {
    private Size getSampledSize(int sampleSize) {
        if (sampleSize <= 0) {
            throw new IllegalArgumentException("sampleSize must be positive! "
                    + "provided " + sampleSize);