summaryrefslogtreecommitdiff
path: root/graphics/java/android
diff options
context:
space:
mode:
author Amith Yamasani <yamasani@google.com> 2012-04-18 18:02:48 -0700
committer Amith Yamasani <yamasani@google.com> 2012-06-12 18:18:29 -0700
commitb8151ecd6ef4faa5c16d0a4c3abb45ec84d1f97a (patch)
tree18d849f66b9abbe1519eeb2f4901ada5c5a80cbc /graphics/java/android
parent1c1ca050e19b98c21d5b964930c4fc6f0d9ae567 (diff)
Add an icon to the user information.
Store the icon in the user folder under /data/system, similar to how the wallpaper is stored. Change-Id: Id8ccb55b9e2ba7b4c557505a7f69f04eca1518cf
Diffstat (limited to 'graphics/java/android')
-rw-r--r--graphics/java/android/graphics/BitmapFactory.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/BitmapFactory.java b/graphics/java/android/graphics/BitmapFactory.java
index 5094df188050..381e65bfc7d9 100644
--- a/graphics/java/android/graphics/BitmapFactory.java
+++ b/graphics/java/android/graphics/BitmapFactory.java
@@ -19,6 +19,7 @@ package android.graphics;
import android.content.res.AssetManager;
import android.content.res.Resources;
import android.util.DisplayMetrics;
+import android.util.Log;
import android.util.TypedValue;
import java.io.BufferedInputStream;
@@ -303,6 +304,7 @@ public class BitmapFactory {
/* do nothing.
If the exception happened on open, bm will be null.
*/
+ Log.e("BitmapFactory", "Unable to decode stream: " + e);
} finally {
if (stream != null) {
try {