Dispatch one message for selected bubble and expanded
We currently dispatch separate messages for updating the selected bubble and updating that the stack is expanding.
In cases where these 2 actions happen at the same time, combine the change into a single message.
This not only reduces the number of binder calls between sysui and launcher, but also allows launcher to process these events better.
Flag: None
Bug: 280605790
Test: atest BubbleDataTest
Test: manually verified that things work
Change-Id: I192489bd6a1cfc23a22d0b404937deedaed06e7e
3 files changed