diff options
| author | 2024-03-08 19:32:39 -0500 | |
|---|---|---|
| committer | 2024-04-15 17:15:16 +0000 | |
| commit | 4dbe7a4cebc6af94e05c5b0d7b9507f0eb298c93 (patch) | |
| tree | 1b965fc38299aff0bbd5e9da36a52493263d33af | |
| parent | dfc4a0dd875d938e2a8ab735c611b007f49060f3 (diff) | |
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
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } } |