diff options
| author | 2025-01-04 07:20:30 +0000 | |
|---|---|---|
| committer | 2025-01-07 21:47:48 +0000 | |
| commit | 33788ae6c025217d09aef03ebbf054f4136ca59a (patch) | |
| tree | 792e39c5405338f7adc9d9505a470f56710bf1ef /libs/androidfw/AttributeResolution.cpp | |
| parent | 0fd6b40df2e42acd9f90939eb934b8d016b8014d (diff) | |
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions