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

Commit 910e21e0 authored by Danesh Mondegarian's avatar Danesh Mondegarian Committed by Steve Kondik
Browse files

Lockscreen : Show album art if unlock slider disabled

Added an extra check for visibility of album art.

Change-Id: I79e06bc441d67e8245c06ab799183457f3a1d86c
parent 2b273831
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1004,7 +1004,7 @@ class LockScreen extends LinearLayout implements KeyguardScreen, KeyguardUpdateM
            // Set album art
            // Set album art
            Uri uri = getArtworkUri(getContext(), KeyguardViewMediator.SongId(),
            Uri uri = getArtworkUri(getContext(), KeyguardViewMediator.SongId(),
                    KeyguardViewMediator.AlbumId());
                    KeyguardViewMediator.AlbumId());
            if (uri != null && mAlbumArtToggle && !(mUseRingLockscreen && mCustomAppToggle)) {
            if (uri != null && mAlbumArtToggle && !(mUseRingLockscreen && mCustomAppToggle && !mHideUnlockTab)) {
                mAlbumArt.setImageURI(uri);
                mAlbumArt.setImageURI(uri);
                mAlbumArt.setVisibility(View.VISIBLE);
                mAlbumArt.setVisibility(View.VISIBLE);
            }
            }