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

Commit f6a0781d authored by Alec Mouri's avatar Alec Mouri
Browse files

Actually support protected content in SkiaGL RenderEngine

Bug: 180015774
Test: Emperor's new Groove on Google TV app does not green screen.
Change-Id: I303659be13e7f051568aa5dfd01f126bd97f4dee
parent e06403fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -337,7 +337,7 @@ bool SkiaGLRenderEngine::useProtectedContext(bool useProtectedContext) {
    if (useProtectedContext == mInProtectedContext) {
        return true;
    }
    if (useProtectedContext && supportsProtectedContent()) {
    if (useProtectedContext && !supportsProtectedContent()) {
        return false;
    }
    const EGLSurface surface =