Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +1 −1 Original line number Diff line number Diff line Loading @@ -3355,8 +3355,8 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd @ShadeViewRefactor(RefactorComponent.COORDINATOR) void onViewAddedInternal(ExpandableView child) { child.setOnHeightChangedListener(mOnChildHeightChangedListener); updateHideSensitiveForChild(child); child.setOnHeightChangedListener(mOnChildHeightChangedListener); generateAddAnimation(child, false /* fromMoreCard */); updateAnimationState(child); updateChronometerForChild(child); Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayoutController.java +10 −5 Original line number Diff line number Diff line Loading @@ -95,11 +95,16 @@ public class NotificationStackScrollLayoutController { mNotificationRoundnessManager.setOnRoundingChangedCallback(mView::invalidate); mView.addOnExpandedHeightChangedListener(mNotificationRoundnessManager::setExpanded); mTunerService.addTunable((key, newValue) -> { mTunerService.addTunable( (key, newValue) -> { if (key.equals(Settings.Secure.NOTIFICATION_DISMISS_RTL)) { mView.updateDismissRtlSetting("1".equals(newValue)); } else if (key.equals(Settings.Secure.NOTIFICATION_HISTORY_ENABLED)) { updateFooter(); } }, HIGH_PRIORITY, Settings.Secure.NOTIFICATION_DISMISS_RTL); }, Settings.Secure.NOTIFICATION_DISMISS_RTL, Settings.Secure.NOTIFICATION_HISTORY_ENABLED); } public void addOnExpandedHeightChangedListener(BiConsumer<Float, Float> listener) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +1 −1 Original line number Diff line number Diff line Loading @@ -3355,8 +3355,8 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd @ShadeViewRefactor(RefactorComponent.COORDINATOR) void onViewAddedInternal(ExpandableView child) { child.setOnHeightChangedListener(mOnChildHeightChangedListener); updateHideSensitiveForChild(child); child.setOnHeightChangedListener(mOnChildHeightChangedListener); generateAddAnimation(child, false /* fromMoreCard */); updateAnimationState(child); updateChronometerForChild(child); Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayoutController.java +10 −5 Original line number Diff line number Diff line Loading @@ -95,11 +95,16 @@ public class NotificationStackScrollLayoutController { mNotificationRoundnessManager.setOnRoundingChangedCallback(mView::invalidate); mView.addOnExpandedHeightChangedListener(mNotificationRoundnessManager::setExpanded); mTunerService.addTunable((key, newValue) -> { mTunerService.addTunable( (key, newValue) -> { if (key.equals(Settings.Secure.NOTIFICATION_DISMISS_RTL)) { mView.updateDismissRtlSetting("1".equals(newValue)); } else if (key.equals(Settings.Secure.NOTIFICATION_HISTORY_ENABLED)) { updateFooter(); } }, HIGH_PRIORITY, Settings.Secure.NOTIFICATION_DISMISS_RTL); }, Settings.Secure.NOTIFICATION_DISMISS_RTL, Settings.Secure.NOTIFICATION_HISTORY_ENABLED); } public void addOnExpandedHeightChangedListener(BiConsumer<Float, Float> listener) { Loading