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

Commit 35c7e90b authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato Committed by Nicolò Mazzucato
Browse files

Enable shade_window_goes_around for desktop experience dev option

This enables the flag, but changes the display policy to "default display" only.

Bug: 362719719
Bug: 414767865
Test: DragDownNotificationShadeOnOtherDisplay
Flag: com.android.systemui.shade_window_goes_around
Change-Id: I75e82cbf730ce798ea3870a18fed96409183793d
parent d97f841e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ interface ShadeExpansionIntent {
@Module(includes = [AllShadeDisplayPoliciesModule::class])
interface ShadeDisplayPolicyModule {

    @Binds fun provideDefaultPolicy(impl: StatusBarTouchShadeDisplayPolicy): ShadeDisplayPolicy
    @Binds fun provideDefaultPolicy(impl: DefaultDisplayShadePolicy): ShadeDisplayPolicy

    @Binds
    fun provideShadeExpansionIntent(impl: StatusBarTouchShadeDisplayPolicy): ShadeExpansionIntent
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ object ShadeWindowGoesAround {
     * adb shell setprop persist.wm.debug.desktop_experience_devopts 1
     * ```
     */
    private const val ENABLED_BY_DESKTOP_EXPERIENCE_DEV_OPTION = false
    private const val ENABLED_BY_DESKTOP_EXPERIENCE_DEV_OPTION = true

    val FLAG =
        DesktopExperienceFlags.DesktopExperienceFlag(