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

Commit aef8c3ea authored by Nicolò Mazzucato's avatar Nicolò Mazzucato
Browse files

Use StatusBarTouchShadeDisplayPolicy as default one

This makes the shade window able to move between displays by default when the flag is enabled.

Bug: 362719719
Test: DragDownNotificationShadeOnOtherDisplay
Flag: com.android.systemui.shade_window_goes_around
Change-Id: Idca4d9b4f782572e82deb7e1cf1c955a5aed486e
parent 37edc8bb
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: DefaultDisplayShadePolicy): ShadeDisplayPolicy
    @Binds fun provideDefaultPolicy(impl: StatusBarTouchShadeDisplayPolicy): ShadeDisplayPolicy

    @Binds
    fun provideShadeExpansionIntent(impl: StatusBarTouchShadeDisplayPolicy): ShadeExpansionIntent