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

Skip to content
Commit 33788ae6 authored by Andre Le's avatar Andre Le
Browse files

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
parent 0fd6b40d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment