Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java +8 −0 Original line number Diff line number Diff line Loading @@ -475,6 +475,8 @@ public class NotificationShelf extends ActivatableNotificationView { int baseZHeight = mAmbientState.getBaseZHeight(); int clipTopAmount = 0; boolean needsToResetOverrideTint = true; for (int i = 0; i < getHostLayoutChildCount(); i++) { ExpandableView child = getHostLayoutChildAt(i); if (!child.needsClippingToShelf() || child.getVisibility() == GONE) { Loading Loading @@ -507,6 +509,7 @@ public class NotificationShelf extends ActivatableNotificationView { mNotGoneIndex = notGoneIndex; setTintColor(previousColor); setOverrideTintColor(colorTwoBefore, transitionAmount); needsToResetOverrideTint = false; } else if (mNotGoneIndex == -1) { colorTwoBefore = previousColor; Loading Loading @@ -535,6 +538,11 @@ public class NotificationShelf extends ActivatableNotificationView { } } if (notificationRowTransparency() && needsToResetOverrideTint) { setTintColor(NO_COLOR); setOverrideTintColor(NO_COLOR, 0 /* overrideAmount */); } clipTransientViews(); setClipTopAmount(clipTopAmount); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java +8 −0 Original line number Diff line number Diff line Loading @@ -475,6 +475,8 @@ public class NotificationShelf extends ActivatableNotificationView { int baseZHeight = mAmbientState.getBaseZHeight(); int clipTopAmount = 0; boolean needsToResetOverrideTint = true; for (int i = 0; i < getHostLayoutChildCount(); i++) { ExpandableView child = getHostLayoutChildAt(i); if (!child.needsClippingToShelf() || child.getVisibility() == GONE) { Loading Loading @@ -507,6 +509,7 @@ public class NotificationShelf extends ActivatableNotificationView { mNotGoneIndex = notGoneIndex; setTintColor(previousColor); setOverrideTintColor(colorTwoBefore, transitionAmount); needsToResetOverrideTint = false; } else if (mNotGoneIndex == -1) { colorTwoBefore = previousColor; Loading Loading @@ -535,6 +538,11 @@ public class NotificationShelf extends ActivatableNotificationView { } } if (notificationRowTransparency() && needsToResetOverrideTint) { setTintColor(NO_COLOR); setOverrideTintColor(NO_COLOR, 0 /* overrideAmount */); } clipTransientViews(); setClipTopAmount(clipTopAmount); Loading