Merge "Set showInstantApps = true for All App List"

This commit is contained in:
Chaohui Wang
2022-09-28 02:29:18 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ private fun AllAppListPage() {
AppListPage(
title = stringResource(R.string.all_apps),
listModel = rememberContext(::AllAppListModel),
showInstantApps = true,
) { itemModel ->
AppListItem(
itemModel = itemModel,

View File

@@ -58,7 +58,7 @@ class AppDisableButton(
if (!app.hasFlag(ApplicationInfo.FLAG_SYSTEM)) return null
return when {
app.enabled && !app.isDisabledUntilUsed() -> {
app.enabled && !app.isDisabledUntilUsed -> {
disableButton(enabled = isDisableButtonEnabled(packageInfo))
}