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

Commit cf0016e1 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: 6cb63622

* commit '6cb63622':
  TIF: Set the surface secure

Change-Id: I90345d31b53c35f0144c60d70b0f9244a90f0eba
parents e22fa726 6cb63622
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);