From b8151ecd6ef4faa5c16d0a4c3abb45ec84d1f97a Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Wed, 18 Apr 2012 18:02:48 -0700 Subject: 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 --- graphics/java/android/graphics/BitmapFactory.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'graphics/java/android') 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 { -- cgit v1.2.3-59-g8ed1b