Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/row/BundleHeaderGutsContent.kt +3 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,9 @@ class BundleHeaderGutsContent(context: Context) : GutsContent { composeView.repeatWhenAttached { repeatOnLifecycle(Lifecycle.State.CREATED) { // if we have an attached (visible) bundle, the BE setting and thus the switch must // be 'enabled' viewModel.switchState = true composeView.setContent { // TODO(b/399588047): Check if we can init PlatformTheme once instead of once // per ComposeView Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/row/BundleHeaderGutsContent.kt +3 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,9 @@ class BundleHeaderGutsContent(context: Context) : GutsContent { composeView.repeatWhenAttached { repeatOnLifecycle(Lifecycle.State.CREATED) { // if we have an attached (visible) bundle, the BE setting and thus the switch must // be 'enabled' viewModel.switchState = true composeView.setContent { // TODO(b/399588047): Check if we can init PlatformTheme once instead of once // per ComposeView Loading