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

Commit 15a96b5b authored by Colin Cross's avatar Colin Cross Committed by Automerger Merge Worker
Browse files

Fix type inference errors with kotlinc 1.9.0 am: 7477f38e am: 804ee398

parents 0c1c35b7 804ee398
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ private val KNOWN_PLUGINS =
        "com.android.systemui.falcon.nine" to listOf(ClockMetadata("DIGITAL_CLOCK_WEATHER")),
    )

private fun <TKey, TVal> ConcurrentHashMap<TKey, TVal>.concurrentGetOrPut(
private fun <TKey : Any, TVal : Any> ConcurrentHashMap<TKey, TVal>.concurrentGetOrPut(
    key: TKey,
    value: TVal,
    onNew: () -> Unit