diff options
| author | 2024-06-12 21:53:34 +0000 | |
|---|---|---|
| committer | 2024-06-13 19:37:03 +0000 | |
| commit | 72b3afc154c2987b4e7f56f5b0866b39f737e12a (patch) | |
| tree | 5c7171209b332c2f11220114c35e8061cad408d0 /libs/androidfw/StringPool.cpp | |
| parent | 04481f292f0951b48e23f05cdc6703011dd273ce (diff) | |
[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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions