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

Commit eed721c3 authored by Jae Seo's avatar Jae Seo Committed by android-build-merger
Browse files

Merge "TIF: Set the surface secure" into nyc-dev am: 9675f16b am: 711ae66a

am: 9aa6e93a

* commit '9aa6e93a':
  TIF: Set the surface secure

Change-Id: I4ec13078760c33196c9db7ab82d3f38443b86516
parents 67f0e289 9aa6e93a
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);