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

Commit 630fcd8c authored by Kshitij's avatar Kshitij
Browse files

chore: Add comments for KeyguardMediaController split disable

parent 3282fa82
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -79,7 +79,13 @@ constructor(
    }

    private fun updateResources() {
        useSplitShade = false // LargeScreenUtils.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