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

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

[SB][Screen Chips] If sharing a single app, show app name in stop dialog

This CL updates the share-to-app and cast-to-other-device dialogs to
show "You will stop sharing [app name]" if you chose to share just a
single app at the beginning. We need to do this for screen recording
too, but that's more complicated because RecordingController doesn't
have this information yet, so that'll come in another CL.

Bug: 332662551
Flag: com.android.systemui.status_bar_screen_sharing_chips
Test: Start a share-to-app session with a specific app -> click chip ->
verify dialog says "You will stop sharing [app name]", with [app name]
in bold
Test: Start a cast-to-other-device session with a specific app -> click
chip -> verify dialog says "You will stop casting [app name]", with [app
name] in bold
Test: atest MediaProjectionChipInteractorTest
Test: atest EndCastToOtherDeviceDialogDelegateTest
EndShareToAppDialogDelegateTest EndMediaProjectionDialogHelperTest

Change-Id: Ia4aa6132b342127b4b9202ecd40d561c0fb882c2
parent a76d61c9
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