QSDetailedView: Add getDetailsViewModel to ScreenRecordTile
Create a new details view model called ScreenRecordDetailsViewModel and add it to ScreenRecordTile so that the screen record details view is shown when clicking on the tile (if the flag is enabled). This model class will be further developed in later CLs. The functionality to dismiss the dialog should be in the DialogDelegate, rather than in the view binder, since the detailed view will not dismiss the dialog when start recording button is clicked. Thus, this CL extract the part to dismiss dialog out and move it back to the DialogDelegate. This CL follows the design mentioned in go/al-screen-record-detailed-view. Bug: b/378514312 Flag: com.android.systemui.qs_tile_detailed_view Test: ScreenRecordTileTest Test: Click on screen record tile in the QS -> verify that detailed view is shown. Change-Id: Iaeed00e3ab2678489926d5555b7152e84bae3063
Loading
Please register or sign in to comment