From 4b7cc6402892a92b820423561d1443d18e25b755 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Thu, 19 Aug 2010 10:47:06 -0700 Subject: Load opaque assets in RGB-565 until Bitmap.hasAlpha() works properly. Change-Id: I1106855e9f2255c1b78fd76a3fe1c116b3c2fb87 --- graphics/java/android/graphics/BitmapFactory.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'graphics') diff --git a/graphics/java/android/graphics/BitmapFactory.java b/graphics/java/android/graphics/BitmapFactory.java index d2845cf..afea767 100644 --- a/graphics/java/android/graphics/BitmapFactory.java +++ b/graphics/java/android/graphics/BitmapFactory.java @@ -69,11 +69,8 @@ public class BitmapFactory { * the decoder will try to pick the best matching config based on the * system's screen depth, and characteristics of the original image such * as if it has per-pixel alpha (requiring a config that also does). - * - * The configuration is set to {@link android.graphics.Bitmap.Config#ARGB_8888} - * by default. */ - public Bitmap.Config inPreferredConfig = Bitmap.Config.ARGB_8888; + public Bitmap.Config inPreferredConfig; /** * If dither is true, the decoder will attempt to dither the decoded -- cgit v1.1