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

Commit 1762299f authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove dependency of the QSComposeFragment flag" into main

parents 59e15b7f bb200e57
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
@@ -76,9 +74,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