Load opaque assets in RGB-565 until Bitmap.hasAlpha() works properly.

Change-Id: I1106855e9f2255c1b78fd76a3fe1c116b3c2fb87
This commit is contained in:
Romain Guy
2010-08-19 10:47:06 -07:00
parent c4d8eb6fb7
commit 4b7cc64028

View File

@@ -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