Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +8 −0 Original line number Diff line number Diff line Loading @@ -1764,6 +1764,7 @@ public class NotificationStackScrollLayout extends ViewGroup } private void onViewAddedInternal(View child) { updateHideSensitiveForChild(child); mStackScrollAlgorithm.notifyChildrenChanged(this); ((ExpandableView) child).setOnHeightChangedListener(this); generateAddAnimation(child, false /* fromMoreCard */); Loading @@ -1776,6 +1777,13 @@ public class NotificationStackScrollLayout extends ViewGroup } } private void updateHideSensitiveForChild(View child) { if (mAmbientState.isHideSensitive() && child instanceof ExpandableView) { ExpandableView expandableView = (ExpandableView) child; expandableView.setHideSensitiveForIntrinsicHeight(true); } } public void notifyGroupChildRemoved(View row) { onViewRemovedInternal(row); } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +8 −0 Original line number Diff line number Diff line Loading @@ -1764,6 +1764,7 @@ public class NotificationStackScrollLayout extends ViewGroup } private void onViewAddedInternal(View child) { updateHideSensitiveForChild(child); mStackScrollAlgorithm.notifyChildrenChanged(this); ((ExpandableView) child).setOnHeightChangedListener(this); generateAddAnimation(child, false /* fromMoreCard */); Loading @@ -1776,6 +1777,13 @@ public class NotificationStackScrollLayout extends ViewGroup } } private void updateHideSensitiveForChild(View child) { if (mAmbientState.isHideSensitive() && child instanceof ExpandableView) { ExpandableView expandableView = (ExpandableView) child; expandableView.setHideSensitiveForIntrinsicHeight(true); } } public void notifyGroupChildRemoved(View row) { onViewRemovedInternal(row); } Loading