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

Commit e50aaa73 authored by Kshitij's avatar Kshitij
Browse files

chore: Add comments for KeyguardMediaController split disable

parent 862f1370
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -93,7 +93,13 @@ constructor(
    }

    private fun updateResources() {
        useSplitShade = false // splitShadeStateController.shouldUseSplitNotificationShade(context.resources)
        // Set this to false, we want to make only media controller think that we aren't
        // using split shade. Other components still will use split. This forces media to
        // place the tile under notifications in split mode
        // No checks here are necessary since split only applies to landscape keyguard which
        // is only available to tablets.
        // This change thus does not affect smartphones.
        useSplitShade = false
    }

    @VisibleForTesting