Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fbbe9e5 authored by Steve Elliott's avatar Steve Elliott
Browse files

Allow section changes when user changes bundle setting

Flag: com.android.systemui.notification_bundle_ui
Fixes: 422348323
Test: manual
Change-Id: Ie0136b3b852cfb6055f51154cc80b21c0970d27e
parent 9beea219
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -368,12 +368,14 @@ public class VisualStabilityCoordinator implements Coordinator, Dumpable {
                                isEveryChangeAllowed()
                                        || canReorderNotificationEntry(entry)
                                        || canMoveForHeadsUp(entry)
                                        || mEntriesThatCanChangeSection.containsKey(entry.getKey());
                                        || mEntriesThatCanChangeSection.containsKey(entry.getKey())
                                        || canFreelyMoveEntry(entry);
                    } else {
                        isSectionChangeAllowedForEntry =
                                mReorderingAllowed
                                        || canMoveForHeadsUp(entry)
                                        || mEntriesThatCanChangeSection.containsKey(entry.getKey());
                                        || mEntriesThatCanChangeSection.containsKey(entry.getKey())
                                        || canFreelyMoveEntry(entry);
                    }

                    if (!isSectionChangeAllowedForEntry) {