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

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

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

am: 9a6205a5

Change-Id: Ic65a1187832bf7f33209564b9a13443e3ea69d89
parents 98c84094 9a6205a5
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;
     */