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

Commit 593cfcf1 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Expose ElementKey.currentAlpha() in ContentScope

This CL exposes a new ElementKey.currentAlpha() API in ContentScope that
can be used to get the computed alpha for a given element, reusing the
same logic used by Modifier.element() during transitions. This can be
used to share this logic with non compose elements like NSSL.

Bug: 437121774
Test: atest ContentTest
Flag: EXEMPT new API
Change-Id: Ic2bb2062f0f358309727a6c38545379b1d334f20
parent 75aa2493
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