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

Commit c31531ac authored by Ale Nijamkin's avatar Ale Nijamkin
Browse files

[flexiglass] Fixes issue where tooltip impression wasn't recorded.

As it turns out, tooltipState.show() wasn't returning until canceled.

Fix: 410529833
Test: manually verified that both tooltips appear only one time each
Flag: com.android.systemui.scene_container
Change-Id: If686bad2132193a7f7c190b746659e1763c7a080
parent 5c48f380
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,8 +91,8 @@ private fun AnchoredTooltip(

    LaunchedEffect(isVisible) {
        if (isVisible) {
            tooltipState.show()
            onShown?.invoke()
            tooltipState.show()
        } else {
            tooltipState.dismiss()
        }