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

Commit 51b75386 authored by Matt Sarett's avatar Matt Sarett
Browse files

Deprecate mCancel in BitmapFactory.Options API

This is a follow-up to:
https://googleplex-android-review.git.corp.google.com/#/c/837260/

BUG:26266063
Change-Id: I4a5a9c7bd1f04f27f096ce74668d1509791e1952
parent 167a623c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11297,7 +11297,7 @@ package android.graphics {
    field public int inScreenDensity;
    field public int inTargetDensity;
    field public byte[] inTempStorage;
    field public boolean mCancel;
    field public deprecated boolean mCancel;
    field public int outHeight;
    field public java.lang.String outMimeType;
    field public int outWidth;
+1 −1
Original line number Diff line number Diff line
@@ -11651,7 +11651,7 @@ package android.graphics {
    field public int inScreenDensity;
    field public int inTargetDensity;
    field public byte[] inTempStorage;
    field public boolean mCancel;
    field public deprecated boolean mCancel;
    field public int outHeight;
    field public java.lang.String outMimeType;
    field public int outWidth;
+1 −1
Original line number Diff line number Diff line
@@ -11305,7 +11305,7 @@ package android.graphics {
    field public int inScreenDensity;
    field public int inTargetDensity;
    field public byte[] inTempStorage;
    field public boolean mCancel;
    field public deprecated boolean mCancel;
    field public int outHeight;
    field public java.lang.String outMimeType;
    field public int outWidth;
+3 −0
Original line number Diff line number Diff line
@@ -355,6 +355,9 @@ public class BitmapFactory {
        public byte[] inTempStorage;

        /**
         * @deprecated As of {@link android.os.Build.VERSION_CODES#N}, see
         * comments on {@link #requestCancelDecode()}.
         *
         * Flag to indicate that cancel has been called on this object.  This
         * is useful if there's an intermediary that wants to first decode the
         * bounds and then decode the image.  In that case the intermediary