Sync BundleHeader STL state with external expand/collapse
The state is now co-located with STL in @Composable. We had to pass the ComposeScope because it has to be the remembered scope from the @Composable otherwise there is a crash "A MonotonicFrameClock is not available in this CoroutineContext" I discussed this with Ale, as SceneContainer deals with this by using a DataSource which is a heavy setup. We discussed several variants and ended up with this one. Bug: b/389839492 b/416516808 Test: Closed the shade while Bundle is expanded -> Bundle gets collapsed after opening the shade again the Bundle is in correct state. Flag: com.android.systemui.notification_bundle_ui Change-Id: Icf9054ab3980204ce002ef02033121f16381f821
Loading
Please register or sign in to comment