Merge "TIF: Set the surface secure" into nyc-dev
am: 9675f16bba
* commit '9675f16bba6837840038aea92e9db5893cecd33e':
TIF: Set the surface secure
Change-Id: Ic70459cd294453907ce573c55ca0f16868177789
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