public void pauseSubOutput() { MtkLog.i(TAG, "~~~~~~~~~~~~~~~~~enter pauseSubOutput"); TVOutput subOutput = mTvInputManager.getOutput("sub"); if (null != subOutput) { subOutput.stop(); } }
public void pauseMainOutput() { setTvNormal(false); MtkLog.i(TAG, "~~~~~~~~~~~~~~~~~enter pauseMainOutput"); TVOutput output = mTvInputManager.getOutput("main"); if (null != output) { output.stop(); } mTvContent.leaveTV(); }
public void resumeMainOutput() { setTvNormal(true); MtkLog.i(TAG, "~~~~~~~~~~~~~~~~~enter resumeMainOutput"); mTvContent.enterTV(); // mTvInputManager.enterOutputMode(TVInputCommon.OUTPUT_MODE_NORMAL); try { if (null != mtv) { mtv.enterOutputMode(ITVCommon.OUTPUT_MODE_NORMAL); } } catch (RemoteException e) { // TODO Auto-generated catch block e.printStackTrace(); } TVOutput output = mTvInputManager.getOutput("main"); if (null != output) { output.connect(output.getInput()); } DestroyApp.getTVDialogView(mContext.getApplicationContext()).hide(); }