diff options
| author | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2026-04-23 08:24:03 +0200 |
|---|---|---|
| committer | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2026-04-23 09:55:00 +0200 |
| commit | 1ed34bf505e2f1be1b16c9ce516186e6e0ce17e8 (patch) | |
| tree | e264390119270d575149d94f0cd05932366fb588 | |
| parent | a94a89a6ec526961e90e2fd3fd4e71b9cc80215d (diff) | |
| download | mullvadvpn-1ed34bf505e2f1be1b16c9ce516186e6e0ce17e8.tar.xz mullvadvpn-1ed34bf505e2f1be1b16c9ce516186e6e0ce17e8.zip | |
Fix crash due to missing package name module
| -rw-r--r-- | android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt index 686e322d74..b9db7f6f12 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt @@ -133,11 +133,12 @@ val uiModule = module { ComponentName(androidContext(), AutoStartVpnBootCompletedReceiver::class.java) } + single<PackageName> { PackageName(androidContext().packageName) } single<InstallSourceProvider> { AndroidInstallSourceProvider(androidContext()) } single<ResolveAppListingUseCase> { ResolveAppListingUseCaseImpl( resources = androidContext().resources, - packageName = PackageName(androidContext().packageName), + packageName = get(), isPlayBuild = IS_PLAY_BUILD, installSourceProvider = get(), ) |
