summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-07-13 17:42:00 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-07-13 17:42:00 -0700
commite5e285509fdba2b996006e610e0d2888450230f0 (patch)
tree70b2bf2fbc26e37fb9cfd4325e46961fd285d1bf /graphics
parente2ce2616743e83a765893eaf93952e5bc1cc23e0 (diff)
parent594f4065141a53427cad6f4fc89219d2f27e1a7d (diff)
downloadframeworks_base-e5e285509fdba2b996006e610e0d2888450230f0.zip
frameworks_base-e5e285509fdba2b996006e610e0d2888450230f0.tar.gz
frameworks_base-e5e285509fdba2b996006e610e0d2888450230f0.tar.bz2
Merge "Enable 32-bits only assets."
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/BitmapFactory.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/BitmapFactory.java b/graphics/java/android/graphics/BitmapFactory.java
index 5394530..320fc4d 100644
--- a/graphics/java/android/graphics/BitmapFactory.java
+++ b/graphics/java/android/graphics/BitmapFactory.java
@@ -69,8 +69,11 @@ 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;
+ public Bitmap.Config inPreferredConfig = Bitmap.Config.ARGB_8888;
/**
* If dither is true, the decoder will attempt to dither the decoded