Set showInstantApps = true for All App List
Instant Apps are designed only shows in the All App List and the Storage App List. Bug: 235727273 Test: Manual with Settings App Change-Id: I42e49582c06a7e6aad20ad92627a631584597533
This commit is contained in:
@@ -66,6 +66,7 @@ private fun AllAppListPage() {
|
||||
AppListPage(
|
||||
title = stringResource(R.string.all_apps),
|
||||
listModel = rememberContext(::AllAppListModel),
|
||||
showInstantApps = true,
|
||||
) { itemModel ->
|
||||
AppListItem(
|
||||
itemModel = itemModel,
|
||||
|
@@ -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))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user