Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb200e57 authored by Fabián Kozynski's avatar Fabián Kozynski
Browse files

Remove dependency of the QSComposeFragment flag

As we want to release this before the full refactor is completed, and
that flag actually doesn't provide extra protections, remove the
dependency.

Test: build
Bug: 353254228
Flag: com.android.systemui.qs_ui_refactor_compose_fragment
Change-Id: I3de2d817f21a0b5f9858ebb6fd711b53e3279ebb
parent 5b3a397d
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -34,8 +34,6 @@ import com.android.systemui.dagger.SysUISingleton
import com.android.systemui.keyguard.KeyguardBottomAreaRefactor
import com.android.systemui.keyguard.MigrateClocksToBlueprint
import com.android.systemui.keyguard.shared.ComposeLockscreen
import com.android.systemui.qs.flags.NewQsUI
import com.android.systemui.qs.flags.QSComposeFragment
import com.android.systemui.scene.shared.flag.SceneContainerFlag
import com.android.systemui.shade.shared.flag.DualShade
import com.android.systemui.statusbar.notification.collection.SortBySectionTimeFlag
@@ -81,9 +79,6 @@ class FlagDependencies @Inject constructor(featureFlags: FeatureFlagsClassic, ha
        // DualShade dependencies
        DualShade.token dependsOn SceneContainerFlag.getMainAconfigFlag()

        // QS Fragment using Compose dependencies
        QSComposeFragment.token dependsOn NewQsUI.token

        // Status bar chip dependencies
        statusBarCallChipNotificationIconToken dependsOn statusBarUseReposForCallChipToken
        statusBarCallChipNotificationIconToken dependsOn statusBarScreenSharingChipsToken
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ object QSComposeFragment {
    /** Is the refactor enabled */
    @JvmStatic
    inline val isEnabled
        get() = Flags.qsUiRefactorComposeFragment() && NewQsUI.isEnabled
        get() = Flags.qsUiRefactorComposeFragment()

    /**
     * Called to ensure code is only run when the flag is enabled. This protects users from the