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

Commit b338f034 authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

Merge "Fixed an issue where a notification could flicker" into oc-mr1-dev

parents f4849e98 c8c4cf94
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -380,6 +380,15 @@ public class NotificationShelf extends ActivatableNotificationView implements
        }
    }

    @Override
    public void setFakeShadowIntensity(float shadowIntensity, float outlineAlpha, int shadowYEnd,
            int outlineTranslation) {
        if (!mHasItemsInStableShelf) {
            shadowIntensity = 0.0f;
        }
        super.setFakeShadowIntensity(shadowIntensity, outlineAlpha, shadowYEnd, outlineTranslation);
    }

    /**
     * @return the icon amount how much this notification is in the shelf;
     */