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

Commit 22168a7d authored by Jae Seo's avatar Jae Seo
Browse files

TIF: Set the surface secure

Bug: 29104650
Change-Id: I481bf30c57a7c29faaf1cafe64607c22fe55f707
parent c4f1bc40
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -780,6 +780,8 @@ public class TvView extends ViewGroup {
                super.updateWindow(force, redrawNeeded);
                relayoutSessionOverlayView();
            }};
        // The surface view's content should be treated as secure all the time.
        mSurfaceView.setSecure(true);
        mSurfaceView.getHolder().addCallback(mSurfaceHolderCallback);
        if (mWindowZOrder == ZORDER_MEDIA_OVERLAY) {
            mSurfaceView.setZOrderMediaOverlay(true);