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

Commit 711ae66a 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

* commit '9675f16b':
  TIF: Set the surface secure

Change-Id: Ic70459cd294453907ce573c55ca0f16868177789
parents 345d292e 9675f16b
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);