mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 01:48:31 +00:00
t/oxr_android: Update Hilt to a stable release
Only one change in our usage was needed.
This commit is contained in:
parent
b53d022533
commit
52e75e8e27
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2020, Collabora, Ltd.
|
// Copyright 2020-2021, Collabora, Ltd.
|
||||||
// SPDX-License-Identifier: BSL-1.0
|
// SPDX-License-Identifier: BSL-1.0
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
|
@ -14,7 +14,7 @@ buildscript {
|
||||||
androidxLifecycleVersion = "2.2.0"
|
androidxLifecycleVersion = "2.2.0"
|
||||||
androidxConstraintLayoutVersion = '2.0.4'
|
androidxConstraintLayoutVersion = '2.0.4'
|
||||||
|
|
||||||
hiltVersion = "2.29.1-alpha"
|
hiltVersion = '2.35.1'
|
||||||
|
|
||||||
// Saw some breakage when updating to 1.2?
|
// Saw some breakage when updating to 1.2?
|
||||||
materialVersion = "1.1.0"
|
materialVersion = "1.1.0"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2020, Collabora, Ltd.
|
// Copyright 2020-2021, Collabora, Ltd.
|
||||||
// SPDX-License-Identifier: BSL-1.0
|
// SPDX-License-Identifier: BSL-1.0
|
||||||
/*!
|
/*!
|
||||||
* @file
|
* @file
|
||||||
|
@ -11,7 +11,7 @@ package org.freedesktop.monado.openxr_runtime
|
||||||
import dagger.Binds
|
import dagger.Binds
|
||||||
import dagger.Module
|
import dagger.Module
|
||||||
import dagger.hilt.InstallIn
|
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.NoticeFragmentProvider
|
||||||
import org.freedesktop.monado.android_common.ServiceNotificationImpl
|
import org.freedesktop.monado.android_common.ServiceNotificationImpl
|
||||||
import org.freedesktop.monado.auxiliary.IServiceNotification
|
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.
|
* base/interface to use for each thing it must inject.
|
||||||
*/
|
*/
|
||||||
@Module
|
@Module
|
||||||
@InstallIn(ApplicationComponent::class)
|
@InstallIn(SingletonComponent::class)
|
||||||
abstract class MonadoOpenXrAndroidModule {
|
abstract class MonadoOpenXrAndroidModule {
|
||||||
@Binds
|
@Binds
|
||||||
abstract fun bindUiProvider(uiProvider: MonadoOpenXrUiProvider): UiProvider
|
abstract fun bindUiProvider(uiProvider: MonadoOpenXrUiProvider): UiProvider
|
||||||
|
|
Loading…
Reference in a new issue