From 4dbe7a4cebc6af94e05c5b0d7b9507f0eb298c93 Mon Sep 17 00:00:00 2001 From: Julia Tuttle Date: Fri, 8 Mar 2024 19:32:39 -0500 Subject: NSSL: requestLayout on split shade change Since the side padding can change based on the split shade state, and since the split shade state can change independently of configuration changes, and since I'm just kinda skeptical of the sequence of events here, explicitly request a layout pass when the split shade state changes. Bug: 328588062 Test: postsubmit Flag: NA (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:047546e21f8ccabc412237a353e0de2b10c43328) Merged-In: I8c472541ad4c9115480100cf6c05ab02f09f198e Change-Id: I8c472541ad4c9115480100cf6c05ab02f09f198e --- .../statusbar/notification/stack/NotificationStackScrollLayout.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java index 9ee1e4d53ead..c7ef2432267e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java @@ -5964,6 +5964,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable mAmbientState.setUseSplitShade(split); updateDismissBehavior(); updateUseRoundedRectClipping(); + requestLayout(); } } -- cgit v1.2.3-59-g8ed1b