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

Commit 0cb47712 authored by Andreas Huber's avatar Andreas Huber
Browse files

Inform DisplayManager that we're running over a secure channel (HDCP)

if that's the case.

Change-Id: I5f16cad04a6937a3fb65600a971866a77e0ae9fc
related-to-bug: 7265406
parent ad0d97c7
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -312,7 +312,12 @@ void WifiDisplaySource::onMessageReceived(const sp<AMessage> &msg) {
                            mClientInfo.mPlaybackSession->getSurfaceTexture(),
                            mClientInfo.mPlaybackSession->getSurfaceTexture(),
                            mClientInfo.mPlaybackSession->width(),
                            mClientInfo.mPlaybackSession->width(),
                            mClientInfo.mPlaybackSession->height(),
                            mClientInfo.mPlaybackSession->height(),
                            0 /* flags */);
#if REQUIRE_HDCP
                            IRemoteDisplayClient::kDisplayFlagSecure
#else
                            0 /* flags */
#endif
                            );
                }
                }


                if (mState == ABOUT_TO_PLAY) {
                if (mState == ABOUT_TO_PLAY) {