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

Commit 2dadca75 authored by josephpv's avatar josephpv Committed by Joseph Vincent
Browse files

Fix overlapped badge in profile icons

Screenshots:
go/ss/3Kn2PAUZLgNRXH4.png
go/ss/AtYSKgszSDvuq7E.png
go/ss/fKg9bjTbvR2dzag.png

Bug: 334855866
Test: Manual
Change-Id: If7d45d2077a4bc3de12cbc77f98c4e5759b6276c
parent bded2b5e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -106,8 +106,7 @@ final public class AuthenticatorHelper extends BroadcastReceiver {
                AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
                Context authContext = context.createPackageContextAsUser(desc.packageName, 0,
                        mUserHandle);
                icon = mContext.getPackageManager().getUserBadgedIcon(
                        authContext.getDrawable(desc.iconId), mUserHandle);
                icon = authContext.getDrawable(desc.iconId);
                synchronized (mAccTypeIconCache) {
                    mAccTypeIconCache.put(accountType, icon);
                }