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

Commit 1bd36e0d authored by Altaf-Mahdi's avatar Altaf-Mahdi Committed by Gerrit Code Review
Browse files

SystemUI: fix updating keyguard insecure lock icon

Change-Id: I7865325c1092f7b7b35222d191c31314a10f507d
parent 139d3427
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -505,9 +505,9 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
            return;
        }
        // TODO: Real icon for facelock.
       /* int iconRes = mUnlockMethodCache.isFaceUnlockRunning()
        int iconRes = mUnlockMethodCache.isFaceUnlockRunning()
                ? com.android.internal.R.drawable.ic_account_circle
                : mUnlockMethodCache.isMethodInsecure() ? R.drawable.ic_lock_open_24dp
                : mUnlockMethodCache.isCurrentlyInsecure() ? R.drawable.ic_lock_open_24dp
                : R.drawable.ic_lock_24dp;
        if (mLastUnlockIconRes != iconRes) {
            Drawable icon = mContext.getDrawable(iconRes);
@@ -519,7 +519,7 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
                icon = new IntrinsicSizeDrawable(icon, iconWidth, iconHeight);
            }
            mLockIcon.setImageDrawable(icon);
        }*/
        }
        boolean trustManaged = mUnlockMethodCache.isTrustManaged();
        mTrustDrawable.setTrustManaged(trustManaged);
        updateLockIconClickability();