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

Commit 137d50aa authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz
Browse files

Fix Stabilize HeadsUp Groups Flag

stabilize_heads_up_group's bug id is wrong and updates wrong bug. It is replaced by V2 version and bug id is fixed with this CL.

Bug: 357753857
Test: VisualStabilityCoordinatorTest
Flag: com.android.systemui.stabilize_heads_up_group_v2
Change-Id: Ie1f7b97c8e9beaced9b740540b7dd1e0860775f0
parent 40633698
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1947,3 +1947,13 @@ flag {
    description: "Show a rich ongoing notification on the always-on display (depends on ui_rich_ongoing)"
    bug: "369151941"
}

flag {
    name: "stabilize_heads_up_group_v2"
    namespace: "systemui"
    description: "Stabilize heads up groups in VisualStabilityCoordinator"
    bug: "357753857"
    metadata {
      purpose: PURPOSE_BUGFIX
    }
}
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ import com.android.systemui.flags.RefactorFlagUtils
@Suppress("NOTHING_TO_INLINE")
object StabilizeHeadsUpGroup {
    /** The aconfig flag name */
    const val FLAG_NAME: String = Flags.FLAG_STABILIZE_HEADS_UP_GROUP
    const val FLAG_NAME: String = Flags.FLAG_STABILIZE_HEADS_UP_GROUP_V2

    /** A token used for dependency declaration */
    val token: FlagToken
@@ -33,7 +33,7 @@ object StabilizeHeadsUpGroup {
    /** Is the refactor enabled */
    @JvmStatic
    inline val isEnabled
        get() = Flags.stabilizeHeadsUpGroup()
        get() = Flags.stabilizeHeadsUpGroupV2()

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