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

Skip to content
Commit 6b2e287b authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB][Screen Chips] Add share-to-app and cast-to-other-device chips.

The MediaProjectionRepository receives callbacks for both the
share-to-app chip and the cast-to-other-device chip. This CL hooks up
that repository to a new MediaProjectionChipInteractor, and hooks that
interactor up into the existing OngoingActivityChipsViewModel.

These two use cases should actually have different icons. That will come
in the next CL.

Bug: 332662551
Flag: com.android.systemui.status_bar_screen_sharing_chips
Test: Use the Cast QS tile to cast to a device -> verify cast chip
appears with a timer. Stop casting -> verify cast chip disappears.
Test: Share your screen to an app -> verify cast chip appears with a
timer. Stop casting -> verify cast chip disappears.
Test: atest MediaProjectionChipInteractorTest
OngoingActivityChipsViewModelTest

Change-Id: Ic3ce1b9d8d8e5777ca855086bc0564a01a09e6f6
parent 426eecd7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment