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

Commit 9114b519 authored by Tracy Zhou's avatar Tracy Zhou Committed by Android (Google) Code Review
Browse files

Merge "Guard updateBackgroundTint calls under notificationShadeTransparency flag" into main

parents 2b847208 0579d681
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -1005,8 +1005,10 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
        } else if (isAboveShelf() != wasAboveShelf) {
            mAboveShelfChangedListener.onAboveShelfStateChanged(!wasAboveShelf);
        }
        if (notificationRowTransparency()) {
            updateBackgroundTint();
        }
    }

    /**
     * Indicate that the notification is showing the app icon instead of the small icon.
@@ -3164,9 +3166,11 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
                    mChildrenContainer.setOnKeyguard(onKeyguard);
                }
            }
            if (notificationRowTransparency()) {
                updateBackgroundTint();
            }
        }
    }

    @Override
    public int getHeightWithoutLockscreenConstraints() {