t/oxr_android: Update Hilt to a stable release

Only one change in our usage was needed.
This commit is contained in:
Ryan Pavlik 2021-05-18 11:53:25 -05:00
parent b53d022533
commit 52e75e8e27
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
// Copyright 2020, Collabora, Ltd.
// Copyright 2020-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
buildscript {
@ -14,7 +14,7 @@ buildscript {
androidxLifecycleVersion = "2.2.0"
androidxConstraintLayoutVersion = '2.0.4'
hiltVersion = "2.29.1-alpha"
hiltVersion = '2.35.1'
// Saw some breakage when updating to 1.2?
materialVersion = "1.1.0"

View file

@ -1,4 +1,4 @@
// Copyright 2020, Collabora, Ltd.
// Copyright 2020-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
@ -11,7 +11,7 @@ package org.freedesktop.monado.openxr_runtime
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ApplicationComponent
import dagger.hilt.components.SingletonComponent
import org.freedesktop.monado.android_common.NoticeFragmentProvider
import org.freedesktop.monado.android_common.ServiceNotificationImpl
import org.freedesktop.monado.auxiliary.IServiceNotification
@ -25,7 +25,7 @@ import org.freedesktop.monado.auxiliary.UiProvider
* base/interface to use for each thing it must inject.
*/
@Module
@InstallIn(ApplicationComponent::class)
@InstallIn(SingletonComponent::class)
abstract class MonadoOpenXrAndroidModule {
@Binds
abstract fun bindUiProvider(uiProvider: MonadoOpenXrUiProvider): UiProvider