diff options
| author | 2024-02-08 19:53:51 +0000 | |
|---|---|---|
| committer | 2024-02-08 19:53:55 +0000 | |
| commit | b7b1460e456d573af629dfce250c3098183b872c (patch) | |
| tree | be65982c2a5069c02daec4bdfc87a97518afc55d | |
| parent | 8e3ca63b321cc8055495f6032e76d06bf1f64fa7 (diff) | |
Fix crash with NSSL migration enabled and footer refactor disabled
Test: run flexi without footer refactor
Flag: ACONFIG com.android.systemui.keyguard_shade_migration_nssl
DEVELOPMENT
Change-Id: I8bbba92e59cacf38adab47202985375ea6683017
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/SharedNotificationContainerBinder.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/SharedNotificationContainerBinder.kt b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/SharedNotificationContainerBinder.kt index f3d0d2c2e9fc..97db9b6c4191 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/SharedNotificationContainerBinder.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/SharedNotificationContainerBinder.kt @@ -26,6 +26,7 @@ import com.android.systemui.dagger.qualifiers.Main import com.android.systemui.keyguard.ui.viewmodel.BurnInParameters import com.android.systemui.lifecycle.repeatWhenAttached import com.android.systemui.scene.shared.flag.SceneContainerFlags +import com.android.systemui.statusbar.notification.footer.shared.FooterViewRefactor import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayoutController import com.android.systemui.statusbar.notification.stack.NotificationStackSizeCalculator import com.android.systemui.statusbar.notification.stack.shared.flexiNotifsEnabled @@ -65,7 +66,9 @@ object SharedNotificationContainerBinder { controller.setOverExpansion(0f) controller.setOverScrollAmount(0) - controller.updateFooter() + if (!FooterViewRefactor.isEnabled) { + controller.updateFooter() + } } } } |