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

Commit fe012c18 authored by Ankita Vyas's avatar Ankita Vyas Committed by Android Build Cherrypicker Worker
Browse files

Suppress compose compiler error for default value

Bug: 322174422
Test: builds
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:49870c4a7cd2b7fc7009e55e015f89e971cc5742)
Merged-In: Ia6ca034c8c7a7d6306f66bd3f0d9f29c9c62edbc
Change-Id: Ia6ca034c8c7a7d6306f66bd3f0d9f29c9c62edbc
parent ed2395aa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ fun rememberAppRepository(): AppRepository = rememberContext(::AppRepositoryImpl
interface AppRepository {
    fun loadLabel(app: ApplicationInfo): String

    @Suppress("ABSTRACT_COMPOSABLE_DEFAULT_PARAMETER_VALUE")
    @Composable
    fun produceLabel(app: ApplicationInfo, isClonedAppPage: Boolean = false): State<String> {
        val context = LocalContext.current