From 25ba1c86945a441428194d9ebcabbf31be75a45a Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Tue, 3 Sep 2013 11:50:23 -0700 Subject: Update Bitmap.Config.ARGB_4444 documentation Bug #10510122 ARGB_4444 is deprecated and always replaced with ARGB_8888. Change-Id: I0da96216af701a7df00ad35913066fbfa997d790 --- graphics/java/android/graphics/Bitmap.java | 4 ++++ graphics/java/android/graphics/BitmapFactory.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'graphics') diff --git a/graphics/java/android/graphics/Bitmap.java b/graphics/java/android/graphics/Bitmap.java index c971da5..495bbca 100644 --- a/graphics/java/android/graphics/Bitmap.java +++ b/graphics/java/android/graphics/Bitmap.java @@ -419,6 +419,10 @@ public final class Bitmap implements Parcelable { * * It is recommended to use {@link #ARGB_8888} instead of this * configuration. + * + * Note: as of {@link android.os.Build.VERSION_CODES#KEY_LIME_PIE}, + * any bitmap created with this configuration will be created + * using {@link #ARGB_8888} instead. * * @deprecated Because of the poor quality of this configuration, * it is advised to use {@link #ARGB_8888} instead. diff --git a/graphics/java/android/graphics/BitmapFactory.java b/graphics/java/android/graphics/BitmapFactory.java index 1c426fd..9d82a81 100644 --- a/graphics/java/android/graphics/BitmapFactory.java +++ b/graphics/java/android/graphics/BitmapFactory.java @@ -82,7 +82,7 @@ public class BitmapFactory { * function to ensure that you are using the bitmap that was used as the * decode destination.

* - * @see Bitmap#reconfigure(int,int,Config) + * @see Bitmap#reconfigure(int,int, android.graphics.Bitmap.Config) */ public Bitmap inBitmap; -- cgit v1.1