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

Commit 0664e313 authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

Merge "Fixed an issue where notifications were invisible on AOD" into pi-dev am: d4115f50

am: de932bdf

Change-Id: Icdea366821e0365bce7115c4b2a34f9c22e0fb79
parents fa11a422 de932bdf
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -177,7 +177,7 @@ public class NotificationShelf extends ActivatableNotificationView implements
            mShelfState.yTranslation = Math.max(Math.min(viewEnd, maxShelfEnd) - mShelfState.height,
            mShelfState.yTranslation = Math.max(Math.min(viewEnd, maxShelfEnd) - mShelfState.height,
                    getFullyClosedTranslation());
                    getFullyClosedTranslation());
            mShelfState.zTranslation = ambientState.getBaseZHeight();
            mShelfState.zTranslation = ambientState.getBaseZHeight();
            if (mAmbientState.isDark()) {
            if (mAmbientState.isDark() && !mAmbientState.hasPulsingNotifications()) {
                mShelfState.yTranslation = mAmbientState.getDarkTopPadding();
                mShelfState.yTranslation = mAmbientState.getDarkTopPadding();
            }
            }
            float openedAmount = (mShelfState.yTranslation - getFullyClosedTranslation())
            float openedAmount = (mShelfState.yTranslation - getFullyClosedTranslation())