diff options
| author | 2024-03-08 19:32:39 -0500 | |
|---|---|---|
| committer | 2024-03-13 13:16:17 -0400 | |
| commit | 047546e21f8ccabc412237a353e0de2b10c43328 (patch) | |
| tree | bc336ad0e3b6c6892a65cf380b04661a694865f7 | |
| parent | 13203c2c38032acdc85f4927922179712ff60bc4 (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
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 82e0aa885ebb..2c24f452684e 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 @@ -5553,6 +5553,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable mAmbientState.setUseSplitShade(split); updateDismissBehavior(); updateUseRoundedRectClipping(); + requestLayout(); } } |