OSDN Git Service

Fix protected content playback via HWC2on1Adapter
authorFabien Sanglard <sanglardf@google.com>
Fri, 3 Feb 2017 00:59:44 +0000 (16:59 -0800)
committerFabien Sanglard <sanglardf@google.com>
Fri, 3 Feb 2017 22:52:41 +0000 (14:52 -0800)
commit999a7fdad2a48d0517f515cc6ea6c7324aa28228
tree4ea40e21ecc5dfb5ca0565e4a50373fc71a86663
parent2dcb69831738d353bc7f400c611ee779aa435083
Fix protected content playback via HWC2on1Adapter

The adapter marked unsupported dataspace layer with HWC_SKIP_LAYER
which prevented HWC to mark protected content with HWC_OVERLAY.

Test: AUPT
Change-Id: Id8c05c7e575ffcc4160cdd8d23b151c4901b4c5c
services/surfaceflinger/DisplayHardware/HWC2On1Adapter.cpp
services/surfaceflinger/DisplayHardware/HWC2On1Adapter.h