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
This commit is contained in:
Amith Yamasani
2012-04-18 18:02:48 -07:00
parent 1c1ca050e1
commit b8151ecd6e
13 changed files with 115 additions and 23 deletions

View File

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