Loading packages/SystemUI/aconfig/systemui.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -739,6 +739,13 @@ flag { bug: "259566300" } flag { name: "smartspace_swipe_event_logging" namespace: "systemui" description: "Log card swipe events in smartspace" bug: "374150422" } 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 @@ -23,4 +23,6 @@ interface BcSmartspaceConfigPlugin { val isDefaultDateWeatherDisabled: Boolean /** Gets if Smartspace should use ViewPager2 */ val isViewPager2Enabled: Boolean /** Gets if card swipe event should be logged */ val isSwipeEventLoggingEnabled: 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.smartspaceSwipeEventLogging import com.android.systemui.Flags.smartspaceViewpager2 import com.android.systemui.flags.FeatureFlags import com.android.systemui.plugins.BcSmartspaceConfigPlugin Loading @@ -27,4 +28,7 @@ class BcSmartspaceConfigProvider(private val featureFlags: FeatureFlags) : override val isViewPager2Enabled: Boolean get() = smartspaceViewpager2() override val isSwipeEventLoggingEnabled: Boolean get() = smartspaceSwipeEventLogging() } Loading
packages/SystemUI/aconfig/systemui.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -739,6 +739,13 @@ flag { bug: "259566300" } flag { name: "smartspace_swipe_event_logging" namespace: "systemui" description: "Log card swipe events in smartspace" bug: "374150422" } 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 @@ -23,4 +23,6 @@ interface BcSmartspaceConfigPlugin { val isDefaultDateWeatherDisabled: Boolean /** Gets if Smartspace should use ViewPager2 */ val isViewPager2Enabled: Boolean /** Gets if card swipe event should be logged */ val isSwipeEventLoggingEnabled: 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.smartspaceSwipeEventLogging import com.android.systemui.Flags.smartspaceViewpager2 import com.android.systemui.flags.FeatureFlags import com.android.systemui.plugins.BcSmartspaceConfigPlugin Loading @@ -27,4 +28,7 @@ class BcSmartspaceConfigProvider(private val featureFlags: FeatureFlags) : override val isViewPager2Enabled: Boolean get() = smartspaceViewpager2() override val isSwipeEventLoggingEnabled: Boolean get() = smartspaceSwipeEventLogging() }