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

Commit bf1b784d authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Do not use transparent background when on keyguard

Fixes: 409271854
Test: manual
Flag: com.android.systemui.notification_row_transparency
Change-Id: I0af54cd6a1fa2585efa3e93a960aa811933ec022
parent 51bcbd27
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1067,6 +1067,11 @@ public class NotificationShelf extends ActivatableNotificationView {
        return false;
    }

    @Override
    protected boolean usesTransparentBackground() {
        return super.usesTransparentBackground() && !mAmbientState.isOnKeyguard();
    }

    public void setCanModifyColorOfNotifications(boolean canModifyColorOfNotifications) {
        mCanModifyColorOfNotifications = canModifyColorOfNotifications;
    }