Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99f7fae5 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Fix user icon loading

Was broken by a recent merge from mr2.

Change-Id: I063e0a5e08615f7b47d3861796985f4aeec23537
parent a5ca95a8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -131,9 +131,9 @@ class KeyguardMultiUserAvatar extends FrameLayout {
                        mShadowRadius, mHighlightColor)) {
            Bitmap icon = null;
            try {
                icon = BitmapFactory.decodeFile(rewriteIconPath(user.iconPath));
                icon = mUserManager.getUserIcon(user.id);
            } catch (Exception e) {
                if (DEBUG) Log.d(TAG, "failed to open profile icon " + user.iconPath, e);
                if (DEBUG) Log.d(TAG, "failed to get profile icon " + user, e);
            }

            if (icon == null) {