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

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

[SB][Screen Chips] Show app name in screen record stop dialog if needed.

Builds on Ia4aa6132b342127b4b9202ecd40d561c0fb882c2 to also show "You
will stop recording [app name]" for the screen record stop dialog.
ScreenRecordRepository doesn't have this information (because
RecordingController doesn't have it), so the ScreenRecordChipInteractor
now needs to also listen to MediaProjectionRepository, which *does* have
the information.

Bug: 332662551
Flag: com.android.systemui.status_bar_screen_sharing_chips
Test: Start a screen recording for a single app -> click chip -> verify
dialog says "You will stop recording [app name]", with [app name] in
bold
Test: Start a screen recording for the entire screen -> click chip ->
verify dialog says just "You will stop recording your screen"
Test: atest ScreenRecordChipInteractorTest
EndScreenRecordingDialogDelegateTest

Change-Id: Id9aa09b246dc42ebbf56fca276b336820e574823
parent 04481f29
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