Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
Change the MainThreadHandler to FeedFeatureEnabledFlag which got repl…
Browse files Browse the repository at this point in the history
…aced accidentally.

Bug: 129457834
Change-Id: I85683991d7fbeb3c8a981ee193d49d47c083d569
  • Loading branch information
gaurav414u authored and thagikura committed Aug 14, 2019
1 parent c469c0f commit a65ffba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -39,7 +39,7 @@ import com.google.samples.apps.iosched.databinding.NavigationHeaderBinding
import com.google.samples.apps.iosched.domain.ar.ArConstants
import com.google.samples.apps.iosched.domain.ar.InstallOrLaunchArFeatureActivity
import com.google.samples.apps.iosched.shared.di.ExploreArEnabledFlag
import com.google.samples.apps.iosched.shared.di.MainThreadHandler
import com.google.samples.apps.iosched.shared.di.FeedFeatureEnabledFlag
import com.google.samples.apps.iosched.shared.di.MapFeatureEnabledFlag
import com.google.samples.apps.iosched.shared.result.EventObserver
import com.google.samples.apps.iosched.shared.util.viewModelProvider
Expand Down Expand Up @@ -87,7 +87,7 @@ class MainActivity : DaggerAppCompatActivity(), NavigationHost {

@Inject
@JvmField
@MainThreadHandler
@FeedFeatureEnabledFlag
var feedFeatureEnabled: Boolean = false

@Inject
Expand Down
Expand Up @@ -26,7 +26,7 @@ class FeatureFlagsModule {

@Provides
@Singleton
@MainThreadHandler
@FeedFeatureEnabledFlag
fun provideEnableFeedFeatureFlag(appConfig: AppConfigDataSource): Boolean {
return appConfig.isFeedFeatureEnabled()
}
Expand Down

0 comments on commit a65ffba

Please sign in to comment.