Merge "TIF: Set the surface secure" into nyc-dev am: 9675f16bba
am: 711ae66a4b
* commit '711ae66a4b067fd6740561b8bd4fd228dd4fb98e':
TIF: Set the surface secure
Change-Id: Ib06c3a94ec180f4856791ed13e1d76c96dde64fc
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user