Loading packages/SystemUI/aconfig/systemui.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -650,6 +650,13 @@ flag { bug: "331451011" } flag { name: "smartspace_viewpager2" namespace: "systemui" description: "Use viewpager2 in Smartspace" bug: "259566300" } flag { name: "pin_input_field_styled_focus_state" namespace: "systemui" Loading packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/BcSmartspaceConfigPlugin.kt +2 −0 Original line number Diff line number Diff line Loading @@ -21,4 +21,6 @@ package com.android.systemui.plugins interface BcSmartspaceConfigPlugin { /** Gets default date/weather disabled status. */ val isDefaultDateWeatherDisabled: Boolean /** Gets if Smartspace should use ViewPager2 */ val isViewPager2Enabled: Boolean } packages/SystemUI/src/com/android/systemui/smartspace/config/BcSmartspaceConfigProvider.kt +4 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.systemui.smartspace.config import com.android.systemui.Flags.smartspaceViewpager2 import com.android.systemui.flags.FeatureFlags import com.android.systemui.plugins.BcSmartspaceConfigPlugin Loading @@ -23,4 +24,7 @@ class BcSmartspaceConfigProvider(private val featureFlags: FeatureFlags) : BcSmartspaceConfigPlugin { override val isDefaultDateWeatherDisabled: Boolean get() = true override val isViewPager2Enabled: Boolean get() = smartspaceViewpager2() } Loading
packages/SystemUI/aconfig/systemui.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -650,6 +650,13 @@ flag { bug: "331451011" } flag { name: "smartspace_viewpager2" namespace: "systemui" description: "Use viewpager2 in Smartspace" bug: "259566300" } flag { name: "pin_input_field_styled_focus_state" namespace: "systemui" Loading
packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/BcSmartspaceConfigPlugin.kt +2 −0 Original line number Diff line number Diff line Loading @@ -21,4 +21,6 @@ package com.android.systemui.plugins interface BcSmartspaceConfigPlugin { /** Gets default date/weather disabled status. */ val isDefaultDateWeatherDisabled: Boolean /** Gets if Smartspace should use ViewPager2 */ val isViewPager2Enabled: Boolean }
packages/SystemUI/src/com/android/systemui/smartspace/config/BcSmartspaceConfigProvider.kt +4 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.systemui.smartspace.config import com.android.systemui.Flags.smartspaceViewpager2 import com.android.systemui.flags.FeatureFlags import com.android.systemui.plugins.BcSmartspaceConfigPlugin Loading @@ -23,4 +24,7 @@ class BcSmartspaceConfigProvider(private val featureFlags: FeatureFlags) : BcSmartspaceConfigPlugin { override val isDefaultDateWeatherDisabled: Boolean get() = true override val isViewPager2Enabled: Boolean get() = smartspaceViewpager2() }