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

Commit a6f9fd84 authored by burakov's avatar burakov Committed by Danny Burakov
Browse files

[bc25] Apply the deprecated annotation to the correct QS scene.

It was erroneously applied to the QuickSettings scene instead of
QuickSettingsShade (the dual shade variant).

Bug: 356596436
Flag: com.android.systemui.scene_container
Flag: com.android.systemui.dual_shade
Test: Existing unit tests still pass.
Change-Id: I9eea07f90aa56783bbd56cb330dd005ddbf828f2
parent f33d2b23
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -72,9 +72,7 @@ object Scenes {
     * and one for quick settings, [NotificationsShade] and [QuickSettingsShade] scenes are used
     * respectively.
     */
    @Deprecated("The quick settings shade scene has been replaced by an overlay")
    @JvmField
    val QuickSettings = SceneKey("quick_settings")
    @JvmField val QuickSettings = SceneKey("quick_settings")

    /**
     * The quick settings shade scene shows the quick setting tiles as an overlay UI.
@@ -87,7 +85,9 @@ object Scenes {
     * large screens or unfolded foldables, where notifications and quick settings are shown
     * side-by-side in their own columns).
     */
    @JvmField val QuickSettingsShade = SceneKey("quick_settings_shade")
    @Deprecated("The quick settings shade scene has been replaced by an overlay")
    @JvmField
    val QuickSettingsShade = SceneKey("quick_settings_shade")

    /**
     * The shade is the scene that shows a scrollable list of notifications and the minimized