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

Commit 4f400448 authored by andrewxu's avatar andrewxu Committed by Andrew Xu
Browse files

Fix Kosmos DynamicIconTilesViewModel

Before fix, Kosmos.dynamicIconTilesViewModel is created once and never
updates. This CL removes Kosmos.dynamicIconTilesViewModel and re-enables
QuickSettingsSceneTest.

InfiniteGridLayoutEditTileGridTest needs to access
DynamicIconTilesViewModel. Therefore, in that particular test, we inject
an InfiniteGridViewModel to the grid layout under test. Then we access
the DynamicIconTilesViewModel from the injected InfiniteGridViewModel.

Bug: 425752706
Flag: TEST_ONLY
Change-Id: If41a91733cfcd69525f0f76228a532a078ceaa24
parent 3df32c4e
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