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

Commit 0bc0cdfc authored by Olivier St-Onge's avatar Olivier St-Onge Committed by Android Build Coastguard Worker
Browse files

Move the large tile span logic to the columns viewmodel

The columns viewmodel might change the actual number of columns used, which is needed when calculating the span on extra large tiles
In order to use this value from the InfiniteGridLayout while keeping it out of PaginatableGridLayout, I added a PaginatableViewModel interface.

Flag: com.android.systemui.qs_ui_refactor_compose_fragment
Test: QSColumnsViewModelTest
Test: InfiniteGridViewModelTest
Bug: 424081859
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9e207bc5e61b64f64af30fd05e324848dc845c09)
Merged-In: I582cc28b73353f3440585f3ab96f9812d0dc4abe
Change-Id: I582cc28b73353f3440585f3ab96f9812d0dc4abe
parent 4ca717cc
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