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

Commit c2887cf7 authored by Andreas Miko's avatar Andreas Miko
Browse files

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
parent de198a89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment