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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user