Compile and target API 35.

Tested OK on a API 35 emulator.
This commit is contained in:
Benoit Marty
2024-10-31 09:19:08 +01:00
committed by Benoit Marty
parent 0bdc5b2578
commit 5eeb46702f
4 changed files with 5 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ class DefaultShareService @Inject constructor(
PackageManager.GET_ACTIVITIES or PackageManager.MATCH_DISABLED_COMPONENTS
)
.activities
.firstOrNull { it.name.endsWith(".ShareActivity") }
?.firstOrNull { it.name.endsWith(".ShareActivity") }
?.let { shareActivityInfo ->
ComponentName(
shareActivityInfo.packageName,