Move AppItem into AppListModel

Follows the api changes in Spa privileged lib.

Bug: 260660819
Test: Unit test
Test: Manually with Settings
Change-Id: Ieec1035070cc532eedcd1511c5b347e04099a9fb
This commit is contained in:
Chaohui Wang
2022-12-15 12:30:44 +08:00
parent c8b31a5170
commit 1445d985bb
7 changed files with 78 additions and 95 deletions

View File

@@ -156,13 +156,13 @@ class AllAppListTest {
private fun setItemContent() {
composeTestRule.setContent {
AllAppListPage {
fakeNavControllerWrapper.Wrapper {
fakeNavControllerWrapper.Wrapper {
with(AllAppListModel()) {
AppListItemModel(
record = AppRecordWithSize(app = APP),
label = LABEL,
summary = stateOf(SUMMARY),
).appItem()
).AppItem()
}
}
}