[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
Loading
Please register or sign in to comment