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

Commit 78c15de7 authored by Tianfan Zhang's avatar Tianfan Zhang
Browse files

Create cue bar animated icon flag in SysUI

Bug: 443197064
Test: build
Flag: com.android.systemui.enable_cue_bar_animated_icon
Change-Id: If551fe1741500f8bf4d5cafa698b190a77848537
parent 7914382b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2206,3 +2206,10 @@ flag {
    description: "Enable blur on more systemui surfaces"
    bug: "444141641"
}

flag {
    name: "enable_cue_bar_animated_icon"
    namespace: "ailabs"
    description: "Enable the animated icon in cue bar"
    bug: "443197064"
}
+5 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
package com.android.systemui.ambientcue.shared.flag

import com.android.systemui.Flags.ambientCuePlugin
import com.android.systemui.Flags.enableCueBarAnimatedIcon
import com.android.systemui.Flags.enableUnderlay

/** Helper for reading or using the underlay flag state. */
@@ -31,4 +32,8 @@ object AmbientCueFlag {
    @JvmStatic
    inline val isAmbientCuePluginEnabled
        get() = ambientCuePlugin()

    @JvmStatic
    inline val isCueBarAnimatedIconEnabled
        get() = enableCueBarAnimatedIcon()
}