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 fa1e5e5ceb
commit 920c50cc3d
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,