summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2020-09-25 10:54:13 -0700
committer Siddharth Kapoor <ksiddharth@google.com> 2021-01-05 09:54:18 +0000
commit4d0996faee5f3ba6dfebe06e2c4635c60df8527b (patch)
treefd828a1e2a9c8f3ab7d4d2483395a68a0b765f4d /libs/gui/BLASTBufferQueue.cpp
parentd10af92a7b83d252038944cad6014a00bfa7ca25 (diff)
Ensure to switch to unprotected context if display is not secure.
Previously we only consider the switch when the display is secure, however, it is possible that the primary display uses protected context but virtual display is not secure and hence RenderEngine won't switch back to unprotected context. This patch enforce the switch when display is not secure. Bug: 169393573 Bug: 172392940 Test: No flashing when recording Youtube DRM Test: atest libcompositionengine_test Change-Id: Ieeda99a92e8d78f7418f7a1e0da9938bcd4753d5 (cherry picked from commit 09f910ff0d640c5ecdb5c01a4809eb5d5103a6bf)
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions