Skip to content

Commit

Permalink
make plugins support experiment and internal
Browse files Browse the repository at this point in the history
  • Loading branch information
malmstein authored and aitorvs committed Aug 5, 2024
1 parent 0eb71f0 commit a733697
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class RealFocusedViewProvider @Inject constructor(
scope = ActivityScope::class,
boundType = FocusedViewPlugin::class,
priority = 100,
supportExperiments = true,
)
class FocusedLegacyPage @Inject constructor() : FocusedViewPlugin {

Expand All @@ -65,6 +66,8 @@ class FocusedLegacyPage @Inject constructor() : FocusedViewPlugin {
boundType = FocusedViewPlugin::class,
priority = 0,
defaultActiveValue = false,
supportExperiments = true,
internalAlwaysEnabled = true,
)
class FocusedPage @Inject constructor() : FocusedViewPlugin {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ import javax.inject.Inject
boundType = NewTabPagePlugin::class,
priority = 0, // lower to come first in the list of plugins,
defaultActiveValue = false,
supportExperiments = true,
internalAlwaysEnabled = true,
)
class NewTabPage @Inject constructor() : NewTabPagePlugin {

Expand Down

0 comments on commit a733697

Please sign in to comment.