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

Commit 8422e265 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB][Chips] Only pass in `Content` data object to ChipContent Composable

Then we don't re-compose ChipContent if the content is unchanged.

Fixes: 406754016
Flag: com.android.systemui.status_bar_chips_modernization
Test: Update icon or click listener of chip -> verify ChipContent
doesn't recompose (verified via logging)
Test: Update content of chip -> verify ChipContent *does* recompose

Change-Id: Iab728f0a0644c08c82f66d46364910c9cce129cc
parent ba850b5a
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