diff options
| author | 2024-05-28 20:56:39 +0000 | |
|---|---|---|
| committer | 2024-05-29 18:09:35 +0000 | |
| commit | 6b2e287b2892ec1db9635ea0cfdcf1f56dd9cf73 (patch) | |
| tree | e2914d17cf50f219204ad107750ebde82185fa39 /libs/androidfw/StringPool.cpp | |
| parent | 426eecd7b4119f7cfcc178bf71c9043f6ea5c25e (diff) | |
[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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions